]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 81440 via svnmerge from
authorGeorg Brandl <georg@python.org>
Fri, 21 May 2010 21:48:27 +0000 (21:48 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 21 May 2010 21:48:27 +0000 (21:48 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81440 | georg.brandl | 2010-05-21 23:47:05 +0200 (Fr, 21 Mai 2010) | 1 line

  Correct info for Semaphore.acquire() semantics under OSX.
........

Doc/library/multiprocessing.rst

index f240648f408fb04b984760c23c5d801ad5970519..b72d9557e29457d0b7ed90ad8b759d1be4d5de1a 100644 (file)
@@ -837,7 +837,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])
@@ -879,9 +879,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::