diff Doc/libthread.tex @ 1776:5257af80e161 legacy-trunk

* 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
author Guido van Rossum <guido@python.org>
date Fri, 12 Aug 1994 13:13:50 +0000
parents 2ec96140a36b
children 815dfaa6a778
line wrap: on
line diff
--- a/Doc/libthread.tex	Fri Aug 12 12:52:35 1994 +0000
+++ b/Doc/libthread.tex	Fri Aug 12 13:13:50 1994 +0000
@@ -7,7 +7,9 @@
 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 @@
 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)}