pub unsafe extern "C" fn k_work_busy_get(work: *const k_work) -> i32
Expand description
@brief Busy state flags from the work item.
A zero return value indicates the work item appears to be idle.
@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 a mask of flags K_WORK_DELAYED, K_WORK_QUEUED, K_WORK_RUNNING, K_WORK_CANCELING, and K_WORK_FLUSHING.