[Python-checkins] r81442 - in python/branches/py3k: Doc/library/multiprocessing.rst

georg.brandl python-checkins at python.org
Fri May 21 23:48:27 CEST 2010


Author: georg.brandl
Date: Fri May 21 23:48:27 2010
New Revision: 81442

Log:
Merged revisions 81440 via svnmerge from 
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.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Doc/library/multiprocessing.rst

Modified: python/branches/py3k/Doc/library/multiprocessing.rst
==============================================================================
--- python/branches/py3k/Doc/library/multiprocessing.rst	(original)
+++ python/branches/py3k/Doc/library/multiprocessing.rst	Fri May 21 23:48:27 2010
@@ -837,7 +837,7 @@
 
    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 @@
    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::
 


More information about the Python-checkins mailing list