diff options
author | Georg Brandl <georg@python.org> | 2009-07-26 15:02:41 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-07-26 15:02:41 (GMT) |
commit | 502d9a5c2cf7c0837911890e7dcccd7aada10adf (patch) | |
tree | 5e712865fce6c8490a87873b2b4694bc965d2233 /Doc/library/threading.rst | |
parent | 22b3431426349a424e3486c279db8b84cf671da0 (diff) | |
download | cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.zip cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.tar.gz cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.tar.bz2 |
Merged revisions 74207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line
#6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
........
Diffstat (limited to 'Doc/library/threading.rst')
-rw-r--r-- | Doc/library/threading.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index ce91750..86a9bf8 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -54,8 +54,9 @@ This module defines the following functions and objects: :noindex: A factory function that returns a new event object. An event manages a flag - that can be set to true with the :meth:`set` method and reset to false with the - :meth:`clear` method. The :meth:`wait` method blocks until the flag is true. + that can be set to true with the :meth:`~Event.set` method and reset to false + with the :meth:`clear` method. The :meth:`wait` method blocks until the flag + is true. .. class:: local @@ -634,7 +635,7 @@ This is one of the simplest mechanisms for communication between threads: one thread signals an event and other threads wait for it. An event object manages an internal flag that can be set to true with the -:meth:`set` method and reset to false with the :meth:`clear` method. The +:meth:`~Event.set` method and reset to false with the :meth:`clear` method. The :meth:`wait` method blocks until the flag is true. @@ -655,7 +656,7 @@ An event object manages an internal flag that can be set to true with the .. method:: clear() Reset the internal flag to false. Subsequently, threads calling - :meth:`wait` will block until :meth:`set` is called to set the internal + :meth:`wait` will block until :meth:`.set` is called to set the internal flag to true again. .. method:: wait([timeout]) |