]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Delete stale note about mp.Lock.acquire/SIGINT (#120929)
authorAndrey Mishchenko <mishchea@gmail.com>
Sun, 21 Jul 2024 06:17:57 +0000 (23:17 -0700)
committerGitHub <noreply@github.com>
Sun, 21 Jul 2024 06:17:57 +0000 (06:17 +0000)
Doc/library/multiprocessing.rst

index bc615b8e2970463089c3a2c47b8ce97391bc14f1..f1f9d087edf7f92f995fe14b38dd19693c02c820 100644 (file)
@@ -1473,17 +1473,6 @@ object -- see :ref:`multiprocessing-managers`.
    On macOS, ``sem_timedwait`` is unsupported, so calling ``acquire()`` with
    a timeout will emulate that function's behavior using a sleeping loop.
 
-.. 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