Tries to pop data from the queue. If no data is available, NULL is returned.
This function must be called while holding the queue's lock.
data from the queue or NULL, when no data is available immediately.
Tries to pop data from the queue. If no data is available, NULL is returned.
This function must be called while holding the queue's lock.