diff options
author | Georg Brandl <georg@python.org> | 2010-05-21 21:47:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-05-21 21:47:05 (GMT) |
commit | 042d6a4f75a0919258da81982f604f4662428340 (patch) | |
tree | b90a7743fe7cba6fc5ad1f68689c2a1e238a76d9 /Doc | |
parent | 26da187193978ba497f8380fa3b1ad3fc67e94ad (diff) | |
download | cpython-042d6a4f75a0919258da81982f604f4662428340.zip cpython-042d6a4f75a0919258da81982f604f4662428340.tar.gz cpython-042d6a4f75a0919258da81982f604f4662428340.tar.bz2 |
Correct info for Semaphore.acquire() semantics under OSX.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/multiprocessing.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index f6dfcc4..a01ebbd 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -839,7 +839,7 @@ object -- see :ref:`multiprocessing-managers`. A bounded semaphore object: a clone of :class:`threading.BoundedSemaphore`. - (On Mac OS X this is indistinguishable from :class:`Semaphore` because + (On Mac OS X, this is indistinguishable from :class:`Semaphore` because ``sem_getvalue()`` is not implemented on that platform). .. class:: Condition([lock]) @@ -881,9 +881,8 @@ object -- see :ref:`multiprocessing-managers`. specifies a timeout in seconds. If *block* is ``False`` then *timeout* is ignored. -.. note:: - On OS/X ``sem_timedwait`` is unsupported, so timeout arguments for the - aforementioned :meth:`acquire` methods will be ignored on OS/X. + On Mac OS X, ``sem_timedwait`` is unsupported, so calling ``acquire()`` with + a timeout will emulate that function's behavior using a sleeping loop. .. note:: |