riot_sys::bindgen

Function ztimer_mutex_unlock

Source
pub unsafe extern "C" fn ztimer_mutex_unlock(
    clock: *mut ztimer_clock_t,
    timer: *mut ztimer_t,
    timeout: u32,
    mutex: *mut mutex_t,
)
Expand description

@brief Unlock mutex after @p timeout

This function will unlock the given mutex after the timeout has passed.

@param[in] clock ztimer clock to operate on @param[in] timer timer struct to use @param[in] timeout timeout in ztimer_clock’s ticks @param[in] mutex mutex to unlock after timeout