diff options
| author | Guido van Rossum <guido@python.org> | 1994-08-12 13:13:50 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1994-08-12 13:13:50 +0000 |
| commit | 53d291e50137a2fda26ea02fd65bbfbbbde2eaff (patch) | |
| tree | 8a0ae1a37222cdb7cbecf7111a7df87230aee026 /Doc/libthread.tex | |
| parent | fa66a8ebb02d1e53c3f7e3855676ce569b3d0b15 (diff) | |
| download | cpython-53d291e50137a2fda26ea02fd65bbfbbbde2eaff.tar.gz | |
* 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.tex | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Doc/libthread.tex b/Doc/libthread.tex index c836615f44..4208c2d1e6 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)} |
