Mercurial > cpython-lru_cache-weakref
changeset 64289:325d016c19f7
#9689: add links from overview to in-depth class API descriptions.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Thu, 26 Aug 2010 14:30:15 +0000 |
| parents | 655205562695 |
| children | 9d4afd8e8621 |
| files | Doc/library/threading.rst |
| diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Doc/library/threading.rst Thu Aug 26 06:16:22 2010 +0000 +++ b/Doc/library/threading.rst Thu Aug 26 14:30:15 2010 +0000 @@ -33,6 +33,8 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ .. 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)
