pub unsafe extern "C" fn uct_worker_create(
async_: *mut ucs_async_context_t,
thread_mode: ucs_thread_mode_t,
worker_p: *mut uct_worker_h,
) -> ucs_status_tExpand description
@ingroup UCT_CONTEXT @brief Create a worker object.
The worker represents a progress engine. Multiple progress engines can be created in an application, for example to be used by multiple threads. Transports can allocate separate communication resources for every worker, so that every worker can be progressed independently of others.
@param [in] async Context for async event handlers. Must not be NULL. @param [in] thread_mode Thread access mode to the worker and all interfaces and endpoints associated with it. @param [out] worker_p Filled with a pointer to the worker object.