zephyr::raw

Function k_thread_timeout_remaining_ticks

source
pub unsafe extern "C" fn k_thread_timeout_remaining_ticks(
    thread: *const k_thread,
) -> i64
Expand description

@brief Get time remaining before a thread wakes up, in system ticks

This routine computes the time remaining before a waiting thread next executes, in units of system ticks. If the thread is not waiting, it returns zero.