pub unsafe extern "C" fn k_work_delayable_busy_get(
dwork: *const k_work_delayable,
) -> i32
Expand description
@brief Busy state flags from the delayable work item.
@funcprops \isr_ok
@note This is a live snapshot of state, which may change before the result can be inspected. Use locks where appropriate.
@param dwork pointer to the delayable work item.
@return a mask of flags K_WORK_DELAYED, K_WORK_QUEUED, K_WORK_RUNNING, K_WORK_CANCELING, and K_WORK_FLUSHING. A zero return value indicates the work item appears to be idle.