pub unsafe extern "C" fn thread_wakeup(pid: kernel_pid_t) -> c_intExpand 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