pub unsafe extern "C" fn k_work_is_pending(
work: *const k_work,
) -> bool
Expand description
@brief Test whether a work item is currently pending.
Wrapper to determine whether a work item is in a non-idle dstate.
@note This is a live snapshot of state, which may change before the result is checked. Use locks where appropriate.
@funcprops \isr_ok
@param work pointer to the work item.
@return true if and only if k_work_busy_get() returns a non-zero value.