[Python-checkins] r71786 - python/trunk/Doc/library/threading.rst
georg.brandl
python-checkins at python.org
Tue Apr 21 20:23:08 CEST 2009
Author: georg.brandl
Date: Tue Apr 21 20:23:08 2009
New Revision: 71786
Log:
#5757: fix copy-paste error in notify().
Modified:
python/trunk/Doc/library/threading.rst
Modified: python/trunk/Doc/library/threading.rst
==============================================================================
--- python/trunk/Doc/library/threading.rst (original)
+++ python/trunk/Doc/library/threading.rst Tue Apr 21 20:23:08 2009
@@ -555,12 +555,12 @@
.. method:: Condition.notify()
- Wake up a thread waiting on this condition, if any. Wait until notified or until
- a timeout occurs. If the calling thread has not acquired the lock when this
- method is called, a :exc:`RuntimeError` is raised.
+ Wake up a thread waiting on this condition, if any. If the calling thread
+ has not acquired the lock when this method is called, a :exc:`RuntimeError`
+ is raised.
- This method wakes up one of the threads waiting for the condition variable, if
- any are waiting; it is a no-op if no threads are waiting.
+ This method wakes up one of the threads waiting for the condition variable,
+ if any are waiting; it is a no-op if no threads are waiting.
The current implementation wakes up exactly one thread, if any are waiting.
However, it's not safe to rely on this behavior. A future, optimized
More information about the Python-checkins
mailing list