PyDocs

Nav

Concurrent Execution

SimpleQueue

queue

class · Added in 3.7
Simple, unbounded, reentrant FIFO queue.
Members of SimpleQueue

e

empty
Return True if the queue is empty, False otherwise (not reliable!).

g

get
Remove and return an item from the queue.
get_nowait
Remove and return an item from the queue without blocking.

p

put
Put the item on the queue.
put_nowait
Put an item into the queue without blocking.

q

qsize
Return the approximate size of the queue (not reliable!).
0 Examples
No examples for queue/SimpleQueue.
See Also
No see-alsos for queue/SimpleQueue
0 Notes
No notes for SimpleQueue