Function ucp_request_alloc

Source
pub unsafe extern "C" fn ucp_request_alloc(
    worker: ucp_worker_h,
) -> *mut c_void
Expand description

@ingroup UCP_COMM @brief Create an empty communications request.

@param [in] worker UCP worker.

@return Error code as defined by @ref ucs_status_t

This routine creates request which may be used in functions @ref ucp_tag_send_nbx, @ref ucp_tag_recv_nbx, etc. The application is responsible for releasing the handle using the @ref ucp_request_free routine