summaryrefslogtreecommitdiffstats
path: root/Doc/libthread.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-12 13:13:50 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-12 13:13:50 (GMT)
commitb8b264b165fea8edd388886025615fc1fbcb603c (patch)
tree60cc9b78c8b44bb06eba3f6a3b601ea8415485e3 /Doc/libthread.tex
parent0b7d02a36f86bdda0831c1c97917a82ff79d2991 (diff)
downloadcpython-b8b264b165fea8edd388886025615fc1fbcb603c.zip
cpython-b8b264b165fea8edd388886025615fc1fbcb603c.tar.gz
cpython-b8b264b165fea8edd388886025615fc1fbcb603c.tar.bz2
* Doc/libfuncs.tex: don't use $math$ in description of pow(x,y,z);
describe tuple() * Doc/libposixfile.tex: use tableiii instead of tableii, so partparse will work again (I know, chicken!) * Doc/libthread.tex: Added get_ident(); updated text on module availability * Doc/myformat.perl: Added sub do_cmd_Cpp
Diffstat (limited to 'Doc/libthread.tex')
-rw-r--r--Doc/libthread.tex12
1 files changed, 11 insertions, 1 deletions
diff --git a/Doc/libthread.tex b/Doc/libthread.tex
index c836615..4208c2d 100644
--- a/Doc/libthread.tex
+++ b/Doc/libthread.tex
@@ -7,7 +7,9 @@ threads of control sharing their global data space. For
synchronization, simple locks (a.k.a. \dfn{mutexes} or \dfn{binary
semaphores}) are provided.
-The module is optional and supported on SGI and Sun Sparc systems only.
+The module is optional and supported on SGI IRIX 4.x and 5.x and Sun
+Solaris 2.x systems, as well as on systems that have a PTHREAD
+implementation (e.g. KSR).
It defines the following constant and functions:
@@ -41,6 +43,14 @@ Return a new lock object. Methods of locks are described below. The
lock is initially unlocked.
\end{funcdesc}
+\begin{funcdesc}{get_ident}{}
+Return the `thread identifier' of the current thread. This is a
+nonzero integer. Its value has no direct meaning; it is intended as a
+magic cookie to be used e.g. to index a dictionary of thread-specific
+data. Thread identifiers may be recycled when a thread exits and
+another thread is created.
+\end{funcdesc}
+
Lock objects have the following methods:
\renewcommand{\indexsubitem}{(lock method)}