dequeue
$q
->dequeue
- Removes and returns a scalar from the head of the queue. If the queue is empty,
dequeue
blocks the thread until another threadenqueue
s a scalar on the queue.
$q
->dequeue
dequeue
blocks the thread until another thread enqueue
s a scalar on the queue.