Pops data from the queue. If the queue is empty, blocks for timeout microseconds, or until data becomes available.
If no data is received before the timeout, NULL is returned.
This function must be called while holding the queue's lock.
the number of microseconds to wait
data from the queue or NULL, when no data is received before the timeout.
Pops data from the queue. If the queue is empty, blocks for timeout microseconds, or until data becomes available.
If no data is received before the timeout, NULL is returned.
This function must be called while holding the queue's lock.