diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-02-04 14:55:52 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-02-04 14:55:52 (GMT) |
commit | f51ebf94bb527f66331f92ac00f66f529ded73f0 (patch) | |
tree | b1fb727537d98232bd44bc7ec823f4b520f8b535 /Doc | |
parent | 992ca5278ec1d7529c4aeedfed74051890feac1b (diff) | |
download | cpython-f51ebf94bb527f66331f92ac00f66f529ded73f0.zip cpython-f51ebf94bb527f66331f92ac00f66f529ded73f0.tar.gz cpython-f51ebf94bb527f66331f92ac00f66f529ded73f0.tar.bz2 |
threading primitives now have timeouts
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/multiprocessing.rst | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 3d83114..ebc41f8 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -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. |