From f51ebf94bb527f66331f92ac00f66f529ded73f0 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 4 Feb 2012 09:55:52 -0500 Subject: threading primitives now have timeouts --- Doc/library/multiprocessing.rst | 8 -------- 1 file changed, 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. -- cgit v0.12