Function ucp_worker_progress

Source
pub unsafe extern "C" fn ucp_worker_progress(
    worker: ucp_worker_h,
) -> c_uint
Expand description

@ingroup UCP_WORKER @brief Progress all communications on a specific worker.

This routine explicitly progresses all communication operations on a worker.

@note @li Typically, request wait and test routines call @ref ucp_worker_progress “this routine” to progress any outstanding operations. @li Transport layers, implementing asynchronous progress using threads, require callbacks and other user code to be thread safe. @li The state of communication can be advanced (progressed) by blocking routines. Nevertheless, the non-blocking routines can not be used for communication progress.

@param [in] worker Worker to progress.

@return Non-zero if any communication was progressed, zero otherwise.