]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
threading primitives now have timeouts
authorBenjamin Peterson <benjamin@python.org>
Sat, 4 Feb 2012 14:55:52 +0000 (09:55 -0500)
committerBenjamin Peterson <benjamin@python.org>
Sat, 4 Feb 2012 14:55:52 +0000 (09:55 -0500)
Doc/library/multiprocessing.rst

index 3d83114f7a23544867e5eaa57c4df9da94ac368a..ebc41f8da9bf9543e8cb07ef03e8df91fd84f776 100644 (file)
@@ -876,14 +876,6 @@ object -- see :ref:`multiprocessing-managers`.
 
 .. note::
 
-   The :meth:`acquire` method of :class:`BoundedSemaphore`, :class:`Lock`,
-   :class:`RLock` and :class:`Semaphore` has a timeout parameter not supported
-   by the equivalents in :mod:`threading`.  The signature is
-   ``acquire(block=True, timeout=None)`` with keyword parameters being
-   acceptable.  If *block* is ``True`` and *timeout* is not ``None`` then it
-   specifies a timeout in seconds.  If *block* is ``False`` then *timeout* is
-   ignored.
-
    On Mac OS X, ``sem_timedwait`` is unsupported, so calling ``acquire()`` with
    a timeout will emulate that function's behavior using a sleeping loop.