Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ce543566
Commit
ce543566
authored
Apr 21, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#5757: fix copy-paste error in notify().
parent
95fb46c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Doc/library/threading.rst
Doc/library/threading.rst
+5
-5
No files found.
Doc/library/threading.rst
View file @
ce543566
...
...
@@ -555,12 +555,12 @@ needs to wake up one consumer thread.
.. 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment