Skip to content

Commit

Permalink
Add a note about queue not being safe for use from signal handlers.
Browse files Browse the repository at this point in the history
issue14976.
  • Loading branch information
gpshead committed Sep 9, 2016
1 parent 255295f commit cb3f2c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Doc/library/queue.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ Example of how to wait for enqueued tasks to be completed::
t.join()


.. note::

The :mod:`queue` module is not safe for use from :mod:`signal` handlers as
it uses :mod:`threading` locks.

.. seealso::

Class :class:`multiprocessing.Queue`
Expand Down

0 comments on commit cb3f2c8

Please sign in to comment.