From 0dcbc8385322ff51f7fc3e586027d880275df4fa Mon Sep 17 00:00:00 2001 From: Andrey Mishchenko Date: Sat, 20 Jul 2024 23:17:57 -0700 Subject: Delete stale note about mp.Lock.acquire/SIGINT (#120929) --- Doc/library/multiprocessing.rst | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index bc615b8..f1f9d08 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -1475,17 +1475,6 @@ object -- see :ref:`multiprocessing-managers`. .. note:: - If the SIGINT signal generated by :kbd:`Ctrl-C` arrives while the main thread is - blocked by a call to :meth:`BoundedSemaphore.acquire`, :meth:`Lock.acquire`, - :meth:`RLock.acquire`, :meth:`Semaphore.acquire`, :meth:`Condition.acquire` - or :meth:`Condition.wait` then the call will be immediately interrupted and - :exc:`KeyboardInterrupt` will be raised. - - This differs from the behaviour of :mod:`threading` where SIGINT will be - ignored while the equivalent blocking calls are in progress. - -.. note:: - Some of this package's functionality requires a functioning shared semaphore implementation on the host operating system. Without one, the :mod:`multiprocessing.synchronize` module will be disabled, and attempts to -- cgit v0.12