summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libmutex.tex
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-04-01 22:39:10 (GMT)
committerGeorg Brandl <georg@python.org>2007-04-01 22:39:10 (GMT)
commitae91afdcfb963352360152ca6571becfcc0bab68 (patch)
tree56be7933afe2e7a528b45c498b216b4b7c93f97c /Doc/lib/libmutex.tex
parentb8e8df2e63f7f5276c0bf857719943e06da5b680 (diff)
downloadcpython-ae91afdcfb963352360152ca6571becfcc0bab68.zip
cpython-ae91afdcfb963352360152ca6571becfcc0bab68.tar.gz
cpython-ae91afdcfb963352360152ca6571becfcc0bab68.tar.bz2
Lots of explicit class names for method and member descs.
Diffstat (limited to 'Doc/lib/libmutex.tex')
-rw-r--r--Doc/lib/libmutex.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libmutex.tex b/Doc/lib/libmutex.tex
index 4893690..8c35c96 100644
--- a/Doc/lib/libmutex.tex
+++ b/Doc/lib/libmutex.tex
@@ -35,23 +35,23 @@ acquired.
\class{mutex} objects have following methods:
-\begin{methoddesc}{test}{}
+\begin{methoddesc}[mutex]{test}{}
Check whether the mutex is locked.
\end{methoddesc}
-\begin{methoddesc}{testandset}{}
+\begin{methoddesc}[mutex]{testandset}{}
``Atomic'' test-and-set, grab the lock if it is not set,
and return \code{True}, otherwise, return \code{False}.
\end{methoddesc}
-\begin{methoddesc}{lock}{function, argument}
+\begin{methoddesc}[mutex]{lock}{function, argument}
Execute \code{\var{function}(\var{argument})}, unless the mutex is locked.
In the case it is locked, place the function and argument on the queue.
See \method{unlock} for explanation of when
\code{\var{function}(\var{argument})} is executed in that case.
\end{methoddesc}
-\begin{methoddesc}{unlock}{}
+\begin{methoddesc}[mutex]{unlock}{}
Unlock the mutex if queue is empty, otherwise execute the first element
in the queue.
\end{methoddesc}