ID EN
Multiprocessing

Queue

Python 3.11

Returns a process shared queue implemented using a pipe and a few locks/semaphores. When a process first puts an item on the queue a feeder thread is started which transfers objects from a buffer into the pipe.

Syntax

PYTHON
class multiprocessing.Queue([maxsize])

See Also

queue.Empty queue.Full queue Queue queue.Queue task_done() join() NotImplementedError