LCI v2.0.0-dev
For Asynchronous Multithreaded Communication
Loading...
Searching...
No Matches
alloc_handler

Allocate a completion handler. More...

Collaboration diagram for alloc_handler:

Classes

class  lci::alloc_handler_x
 The actual implementation for alloc_handler. More...
 

Detailed Description

Allocate a completion handler.

Parameters
[in]runtimeof type runtime_t; optional argument; The runtime object.
[in]handlerof type comp_handler_t; positional argument; The handler function.
[in]zero_copy_amof type bool; optional argument; Whether to directly pass internal packet into the completion object.
[in]user_contextof type void*; optional argument; The arbitrary user-defined context associated with this completion object.
Returns
of type comp_t; The allocated completion handler.