Add a note about queue not being safe for use from signal handlers.
issue14976.
This commit is contained in:
parent
255295f13e
commit
cb3f2c8f97
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue