Function riot_sys::msg_avail_thread

source ·
pub unsafe extern "C" fn msg_avail_thread(pid: kernel_pid_t) -> c_uint
Expand description

@brief Check how many messages are available (waiting) in the message queue of a specific thread

@param[in] pid a PID

@return Number of messages available in queue of @p pid on success @return 0, if no caller’s message queue is initialized