diff Doc/lib/libthread.tex @ 22920:2392af05f052 legacy-trunk

Update docs for bool changes by Guido around April 6
author Neal Norwitz <nnorwitz@gmail.com>
date Tue, 09 Apr 2002 18:15:00 +0000
parents bc02c3b09626
children 8d44d614941d
line wrap: on
line diff
--- a/Doc/lib/libthread.tex	Tue Apr 09 18:12:58 2002 +0000
+++ b/Doc/lib/libthread.tex	Tue Apr 09 18:15:00 2002 +0000
@@ -82,8 +82,8 @@
 value: if it is zero, the lock is only acquired if it can be acquired
 immediately without waiting, while if it is nonzero, the lock is
 acquired unconditionally as before.  If an argument is present, the
-return value is \code{1} if the lock is acquired successfully,
-\code{0} if not.
+return value is \code{True} if the lock is acquired successfully,
+\code{False} if not.
 \end{methoddesc}
 
 \begin{methoddesc}[lock]{release}{}
@@ -92,8 +92,8 @@
 \end{methoddesc}
 
 \begin{methoddesc}[lock]{locked}{}
-Return the status of the lock:\ \code{1} if it has been acquired by
-some thread, \code{0} if not.
+Return the status of the lock:\ \code{True} if it has been acquired by
+some thread, \code{False} if not.
 \end{methoddesc}
 
 \strong{Caveats:}