riot_sys::bindgen

Function thread_wakeup

Source
pub unsafe extern "C" fn thread_wakeup(pid: kernel_pid_t) -> c_int
Expand description

@brief Wakes up a sleeping thread.

@param[in] pid the PID of the thread to be woken up

@return 1 on success @return STATUS_NOT_FOUND if pid is unknown or not sleeping