Skip to content

Commit bbb3dad

Browse files
committed
Docs: mention that multiprocessing.Queue lacks shutdown()
1 parent 3908593 commit bbb3dad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/multiprocessing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,10 @@ For an example of the usage of queues for interprocess communication see
921921

922922
.. class:: Queue([maxsize])
923923

924+
.. note::
925+
Unlike :class:`queue.Queue`, :class:`multiprocessing.Queue` does not
926+
implement the :meth:`~queue.Queue.shutdown` method.
927+
924928
Returns a process shared queue implemented using a pipe and a few
925929
locks/semaphores. When a process first puts an item on the queue a feeder
926930
thread is started which transfers objects from a buffer into the pipe.

0 commit comments

Comments
 (0)