Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 179249f

Browse files
committed
#9689: add links from overview to in-depth class API descriptions.
1 parent 4bb5c27 commit 179249f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Doc/library/threading.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ This module defines the following functions and objects:
3333
variable allows one or more threads to wait until they are notified by another
3434
thread.
3535

36+
See :ref:`condition-objects`.
37+
3638

3739
.. function:: current_thread()
3840

@@ -58,6 +60,8 @@ This module defines the following functions and objects:
5860
with the :meth:`clear` method. The :meth:`wait` method blocks until the flag
5961
is true.
6062

63+
See :ref:`event-objects`.
64+
6165

6266
.. class:: local
6367

@@ -80,6 +84,8 @@ This module defines the following functions and objects:
8084
acquired it, subsequent attempts to acquire it block, until it is released; any
8185
thread may release it.
8286

87+
See :ref:`lock-objects`.
88+
8389

8490
.. function:: RLock()
8591

@@ -88,6 +94,8 @@ This module defines the following functions and objects:
8894
reentrant lock, the same thread may acquire it again without blocking; the
8995
thread must release it once for each time it has acquired it.
9096

97+
See :ref:`rlock-objects`.
98+
9199

92100
.. function:: Semaphore(value=1)
93101
:noindex:
@@ -98,6 +106,8 @@ This module defines the following functions and objects:
98106
if necessary until it can return without making the counter negative. If not
99107
given, *value* defaults to 1.
100108

109+
See :ref:`semaphore-objects`.
110+
101111

102112
.. function:: BoundedSemaphore(value=1)
103113

@@ -109,15 +119,21 @@ This module defines the following functions and objects:
109119

110120

111121
.. class:: Thread
122+
:noindex:
112123

113124
A class that represents a thread of control. This class can be safely
114125
subclassed in a limited fashion.
115126

127+
See :ref:`thread-objects`.
128+
116129

117130
.. class:: Timer
131+
:noindex:
118132

119133
A thread that executes a function after a specified interval has passed.
120134

135+
See :ref:`timer-objects`.
136+
121137

122138
.. function:: settrace(func)
123139

0 commit comments

Comments
 (0)