Function ucs_callbackq_remove

Source
pub unsafe extern "C" fn ucs_callbackq_remove(
    cbq: *mut ucs_callbackq_t,
    id: c_int,
)
Expand description

Remove a callback from the queue immediately. This is not safe to call while another thread might be dispatching callbacks. However, it can be used from the dispatch context (e.g a callback may use this function to remove itself or another callback). In this case, the callback may still be dispatched once after this function returned.

@param [in] cbq Callback queue to remove the callback from. @param [in] id Callback identifier to remove.