[Python-checkins] python/dist/src/Doc/ext extending.tex,1.17,1.18
fdrake@sourceforge.net
fdrake@sourceforge.net
2002年4月09日 14:09:44 -0700
Update of /cvsroot/python/python/dist/src/Doc/ext
In directory usw-pr-cvs1:/tmp/cvs-serv1066/ext
Modified Files:
extending.tex
Log Message:
Update to use the new \csimplemacro macro
Index: extending.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ext/extending.tex,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** extending.tex 5 Apr 2002 23:01:14 -0000 1.17
--- extending.tex 9 Apr 2002 21:09:42 -0000 1.18
***************
*** 1069,1077 ****
lock protecting Python's entire object space. However, it is possible
to temporarily release this lock using the macro
! \code{Py_BEGIN_ALLOW_THREADS}, and to re-acquire it using
! \code{Py_END_ALLOW_THREADS}. This is common around blocking I/O
! calls, to let other threads use the processor while waiting for the I/O to
! complete. Obviously, the following function has the same problem as
! the previous one:
\begin{verbatim}
--- 1069,1077 ----
lock protecting Python's entire object space. However, it is possible
to temporarily release this lock using the macro
! \csimplemacro{Py_BEGIN_ALLOW_THREADS}, and to re-acquire it using
! \csimplemacro{Py_END_ALLOW_THREADS}. This is common around blocking
! I/O calls, to let other threads use the processor while waiting for
! the I/O to complete. Obviously, the following function has the same
! problem as the previous one:
\begin{verbatim}