method
pop
v1_9_2_180 -
Show latest stable
- Class:
Queue
pop(non_block=false)public
Retrieves data from the queue. If the queue is empty, the calling thread is suspended until data is pushed onto the queue. If non_block is true, the thread isn’t suspended, and an exception is raised.