Add a note about queue not being safe for use from signal handlers.

issue14976.
parents f9b760f4 cb3f2c8f
......@@ -189,6 +189,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`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment