pub unsafe extern "C" fn k_queue_is_empty(queue: *mut k_queue) -> i32
Expand description
@brief Query a queue to see if it has data available.
Note that the data might be already gone by the time this function returns if other threads are also trying to read from the queue.
@funcprops \isr_ok
@param queue Address of the queue.
@return Non-zero if the queue is empty. @return 0 if data is available.