mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Mention multiprocessing.Queue in the queue docs
This commit is contained in:
parent
4b512f73e0
commit
696efdd03f
1 changed files with 9 additions and 4 deletions
|
@ -19,10 +19,6 @@ the first retrieved (operating like a stack). With a priority queue,
|
|||
the entries are kept sorted (using the :mod:`heapq` module) and the
|
||||
lowest valued entry is retrieved first.
|
||||
|
||||
.. seealso::
|
||||
|
||||
Latest version of the :source:`queue module Python source code
|
||||
<Lib/queue.py>`
|
||||
|
||||
The :mod:`queue` module defines the following classes and exceptions:
|
||||
|
||||
|
@ -180,3 +176,12 @@ Example of how to wait for enqueued tasks to be completed::
|
|||
|
||||
q.join() # block until all tasks are done
|
||||
|
||||
|
||||
.. seealso::
|
||||
|
||||
Class :class:`multiprocessing.Queue`
|
||||
A queue class for use in a multi-processing (rather than multi-threading)
|
||||
context.
|
||||
|
||||
Latest version of the :source:`queue module Python source code
|
||||
<Lib/queue.py>`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue