mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
* 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
This commit is contained in:
parent
0b7d02a36f
commit
b8b264b165
7 changed files with 69 additions and 28 deletions
|
@ -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)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue