Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Doc/library/multiprocessing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -936,8 +936,13 @@ For an example of the usage of queues for interprocess communication see

.. method:: close()

Indicate that no more data will be put on this queue by the current
process. The background thread will quit once it has flushed all buffered
Close the queue: release internal resources.

A queue must not be used anymore after it is closed. For example,
:meth:`get`, :meth:`put` and :meth:`empty` methods must no longer be
called.

The background thread will quit once it has flushed all buffered
data to the pipe. This is called automatically when the queue is garbage
collected.

Expand Down