[Python-checkins] python/dist/src/Doc/lib lib.tex,1.208,1.209 libthread.tex,1.26,1.27 libthreading.tex,1.12,1.13
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Mon, 30 Dec 2002 14:34:12 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv15251/lib
Modified Files:
lib.tex libthread.tex libthreading.tex
Log Message:
Add dummy_thread[ing] sections and reference these from libthread[ing].
Index: lib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/lib.tex,v
retrieving revision 1.208
retrieving revision 1.209
diff -C2 -d -r1.208 -r1.209
*** lib.tex 23 Dec 2002 19:03:00 -0000 1.208
--- lib.tex 30 Dec 2002 22:34:10 -0000 1.209
***************
*** 165,168 ****
--- 165,170 ----
\input{libthread}
\input{libthreading}
+ \input{libdummythread}
+ \input{libdummythreading}
\input{libqueue}
\input{libmmap}
Index: libthread.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libthread.tex,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** libthread.tex 22 Oct 2002 15:06:49 -0000 1.26
--- libthread.tex 30 Dec 2002 22:34:10 -0000 1.27
***************
*** 18,22 ****
The module is optional. It is supported on Windows, Linux, SGI
IRIX, Solaris 2.x, as well as on systems that have a \POSIX{} thread
! (a.k.a. ``pthread'') implementation.
\index{pthreads}
\indexii{threads}{\POSIX}
--- 18,24 ----
The module is optional. It is supported on Windows, Linux, SGI
IRIX, Solaris 2.x, as well as on systems that have a \POSIX{} thread
! (a.k.a. ``pthread'') implementation. For systems lacking the \module{thread}
! module, the \refmodule{dummy_thread} module is available. It duplicates this
! module's interface and can be used as a drop-in replacement.
\index{pthreads}
\indexii{threads}{\POSIX}
Index: libthreading.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libthreading.tex,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** libthreading.tex 19 Mar 2002 14:37:44 -0000 1.12
--- libthreading.tex 30 Dec 2002 22:34:10 -0000 1.13
***************
*** 9,12 ****
--- 9,15 ----
lower level \refmodule{thread} module.
+ The \refmodule{dummy_threading} module is provided for situations where
+ \module{threading} cannot be used because \module{thread} is missing.
+
This module is safe for use with \samp{from threading import *}. It
defines the following functions and objects: