zephyr::raw

Function k_work_reschedule

source
pub unsafe extern "C" fn k_work_reschedule(
    dwork: *mut k_work_delayable,
    delay: k_timeout_t,
) -> i32
Expand description

@brief Reschedule a work item to the system work queue after a delay.

This is a thin wrapper around k_work_reschedule_for_queue(), with all the API characteristics of that function.

@param dwork pointer to the delayable work item.

@param delay the time to wait before submitting the work item.

@return as with k_work_reschedule_for_queue().