diff options
author | Fred Drake <fdrake@acm.org> | 2001-07-06 20:30:11 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-07-06 20:30:11 (GMT) |
commit | 907e76b62081cc3e3d4dbab94f3e5799086021a0 (patch) | |
tree | de205bb308f02d8fbefb427aab172786aae98aae /Doc/lib/libthreading.tex | |
parent | 19b1c6156bcb9d8c79808c718be2dac2f55c6d00 (diff) | |
download | cpython-907e76b62081cc3e3d4dbab94f3e5799086021a0.zip cpython-907e76b62081cc3e3d4dbab94f3e5799086021a0.tar.gz cpython-907e76b62081cc3e3d4dbab94f3e5799086021a0.tar.bz2 |
Fix up a few style nits -- avoid "e.g." and "i.e." -- these make
translation more difficult, as well as reading the English more
difficult for non-native speakers.
Diffstat (limited to 'Doc/lib/libthreading.tex')
-rw-r--r-- | Doc/lib/libthreading.tex | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/lib/libthreading.tex b/Doc/lib/libthreading.tex index e3f07ba..e896a84 100644 --- a/Doc/lib/libthreading.tex +++ b/Doc/lib/libthreading.tex @@ -150,10 +150,11 @@ state, no thread owns it. To lock the lock, a thread calls its \method{acquire()} method; this returns once the thread owns the lock. To unlock the lock, a -thread calls its \method{release()} method. \method{acquire()}/\method{release()} call pairs -may be nested; only the final \method{release()} (i.e. the \method{release()} of the -outermost pair) resets the lock to unlocked and allows another -thread blocked in \method{acquire()} to proceed. +thread calls its \method{release()} method. +\method{acquire()}/\method{release()} call pairs may be nested; only +the final \method{release()} (the \method{release()} of the outermost +pair) resets the lock to unlocked and allows another thread blocked in +\method{acquire()} to proceed. \begin{methoddesc}{acquire}{\optional{blocking\code{ = 1}}} Acquire a lock, blocking or non-blocking. @@ -453,7 +454,7 @@ daemon thread. There is the possibility that ``dummy thread objects'' are created. These are thread objects corresponding to ``alien threads''. These are threads of control started outside the -threading module, e.g. directly from C code. Dummy thread objects +threading module, such as directly from C code. Dummy thread objects have limited functionality; they are always considered alive, active, and daemonic, and cannot be \method{join()}ed. They are never deleted, since it is impossible to detect the termination of alien |