]> granicus.if.org Git - python/commitdiff
Correct info for Semaphore.acquire() semantics under OSX.
authorGeorg Brandl <georg@python.org>
Fri, 21 May 2010 21:47:05 +0000 (21:47 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 21 May 2010 21:47:05 +0000 (21:47 +0000)
Doc/library/multiprocessing.rst

index f6dfcc42e3de459ae43f7c29106c17cbd565d648..a01ebbd57efd12239f651e761cd0832971c28096 100644 (file)
@@ -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::