pub unsafe extern "C" fn thread_flags_wake(
thread: *mut thread_t,
) -> c_int
Expand description
@brief Possibly Wake up thread waiting for flags
Wakes up a thread if it is thread flag blocked and its condition is met. Has to be called with interrupts disabled. Does not trigger yield.
@internal
@param[in] thread thread to possibly wake up @return 1 if @p thread has been woken up 0 otherwise