pub unsafe extern "C" fn ucs_async_add_timer(
mode: ucs_async_mode_t,
interval: ucs_time_t,
cb: ucs_async_event_cb_t,
arg: *mut c_void,
async_: *mut ucs_async_context_t,
timer_id_p: *mut c_int,
) -> ucs_status_tExpand description
@ingroup UCS_RESOURCE
Add timer handler.
@param mode Thread or signal. @param interval Timer interval. @param cb Callback function to execute. @param arg Argument to callback. @param async Async context to which events are delivered. If NULL, safety is up to the user. @param timer_id_p Filled with timer id.
@return Error code as defined by @ref ucs_status_t.