summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-26 14:30:15 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-26 14:30:15 (GMT)
commit179249f49333f823a6671e1af6c6aab4870bb9a1 (patch)
treed4ee0a12e592dd9b860c4907accb625087ccedb7 /Doc
parent4bb5c273c6897682d99badb872d532806d1e7210 (diff)
downloadcpython-179249f49333f823a6671e1af6c6aab4870bb9a1.zip
cpython-179249f49333f823a6671e1af6c6aab4870bb9a1.tar.gz
cpython-179249f49333f823a6671e1af6c6aab4870bb9a1.tar.bz2
#9689: add links from overview to in-depth class API descriptions.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/threading.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 497a56f..98675f1 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -33,6 +33,8 @@ This module defines the following functions and objects:
variable allows one or more threads to wait until they are notified by another
thread.
+ See :ref:`condition-objects`.
+
.. function:: current_thread()
@@ -58,6 +60,8 @@ This module defines the following functions and objects:
with the :meth:`clear` method. The :meth:`wait` method blocks until the flag
is true.
+ See :ref:`event-objects`.
+
.. class:: local
@@ -80,6 +84,8 @@ This module defines the following functions and objects:
acquired it, subsequent attempts to acquire it block, until it is released; any
thread may release it.
+ See :ref:`lock-objects`.
+
.. function:: RLock()
@@ -88,6 +94,8 @@ This module defines the following functions and objects:
reentrant lock, the same thread may acquire it again without blocking; the
thread must release it once for each time it has acquired it.
+ See :ref:`rlock-objects`.
+
.. function:: Semaphore(value=1)
:noindex:
@@ -98,6 +106,8 @@ This module defines the following functions and objects:
if necessary until it can return without making the counter negative. If not
given, *value* defaults to 1.
+ See :ref:`semaphore-objects`.
+
.. function:: BoundedSemaphore(value=1)
@@ -109,15 +119,21 @@ This module defines the following functions and objects:
.. class:: Thread
+ :noindex:
A class that represents a thread of control. This class can be safely
subclassed in a limited fashion.
+ See :ref:`thread-objects`.
+
.. class:: Timer
+ :noindex:
A thread that executes a function after a specified interval has passed.
+ See :ref:`timer-objects`.
+
.. function:: settrace(func)