Commit 179249f4 authored by Georg Brandl's avatar Georg Brandl

#9689: add links from overview to in-depth class API descriptions.

parent 4bb5c273
...@@ -33,6 +33,8 @@ This module defines the following functions and objects: ...@@ -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 variable allows one or more threads to wait until they are notified by another
thread. thread.
See :ref:`condition-objects`.
.. function:: current_thread() .. function:: current_thread()
...@@ -58,6 +60,8 @@ This module defines the following functions and objects: ...@@ -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 with the :meth:`clear` method. The :meth:`wait` method blocks until the flag
is true. is true.
See :ref:`event-objects`.
.. class:: local .. class:: local
...@@ -80,6 +84,8 @@ This module defines the following functions and objects: ...@@ -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 acquired it, subsequent attempts to acquire it block, until it is released; any
thread may release it. thread may release it.
See :ref:`lock-objects`.
.. function:: RLock() .. function:: RLock()
...@@ -88,6 +94,8 @@ This module defines the following functions and objects: ...@@ -88,6 +94,8 @@ This module defines the following functions and objects:
reentrant lock, the same thread may acquire it again without blocking; the reentrant lock, the same thread may acquire it again without blocking; the
thread must release it once for each time it has acquired it. thread must release it once for each time it has acquired it.
See :ref:`rlock-objects`.
.. function:: Semaphore(value=1) .. function:: Semaphore(value=1)
:noindex: :noindex:
...@@ -98,6 +106,8 @@ This module defines the following functions and objects: ...@@ -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 if necessary until it can return without making the counter negative. If not
given, *value* defaults to 1. given, *value* defaults to 1.
See :ref:`semaphore-objects`.
.. function:: BoundedSemaphore(value=1) .. function:: BoundedSemaphore(value=1)
...@@ -109,15 +119,21 @@ This module defines the following functions and objects: ...@@ -109,15 +119,21 @@ This module defines the following functions and objects:
.. class:: Thread .. class:: Thread
:noindex:
A class that represents a thread of control. This class can be safely A class that represents a thread of control. This class can be safely
subclassed in a limited fashion. subclassed in a limited fashion.
See :ref:`thread-objects`.
.. class:: Timer .. class:: Timer
:noindex:
A thread that executes a function after a specified interval has passed. A thread that executes a function after a specified interval has passed.
See :ref:`timer-objects`.
.. function:: settrace(func) .. function:: settrace(func)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment