Function ucs_async_context_create

Source
pub unsafe extern "C" fn ucs_async_context_create(
    mode: ucs_async_mode_t,
    async_p: *mut *mut ucs_async_context_t,
) -> ucs_status_t
Expand description

@ingroup UCS_RESOURCE @brief Create an asynchronous execution context

Allocate and initialize an asynchronous execution context. This can be used to ensure safe event delivery.

@param mode Indicates whether to use signals or polling threads for waiting. @param async_p Event context pointer to initialize.

@return Error code as defined by @ref ucs_status_t.