mirror of https://github.com/python/cpython
Fix markup.
This commit is contained in:
parent
10745a98be
commit
28c013dcb4
|
@ -155,7 +155,7 @@ fully processed by daemon consumer threads.
|
|||
The count of unfinished tasks goes up whenever an item is added to the queue.
|
||||
The count goes down whenever a consumer thread calls :meth:`task_done` to
|
||||
indicate that the item was retrieved and all work on it is complete. When the
|
||||
count of unfinished tasks drops to zero, join() unblocks.
|
||||
count of unfinished tasks drops to zero, :meth:`join` unblocks.
|
||||
|
||||
|
||||
Example of how to wait for enqueued tasks to be completed::
|
||||
|
|
Loading…
Reference in New Issue