[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.127,1.128

Thomas Wouters twouters@users.sourceforge.net
2001年7月09日 07:35:03 -0700


Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv28842/api
Modified Files:
	api.tex 
Log Message:
Fix for SF bug #436525, reported by Greg Kochanski:
The block/unblock thread macros are called 'Py_BLOCK_THREADS' and
'Py_UNBLOCK_THREADS', not 'Py_BEGIN_BLOCK_THREADS' and
'Py_BEGIN_UNBLOCK_THREADS'.
Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.127
retrieving revision 1.128
diff -C2 -r1.127 -r1.128
*** api.tex	2001年06月20日 21:39:12	1.127
--- api.tex	2001年07月09日 14:35:01	1.128
***************
*** 4599,4603 ****
 \end{csimplemacrodesc}
 
! \begin{csimplemacrodesc}{Py_BEGIN_BLOCK_THREADS}
 This macro expands to \samp{PyEval_RestoreThread(_save);} i.e. it
 is equivalent to \code{Py_END_ALLOW_THREADS} without the closing
--- 4599,4603 ----
 \end{csimplemacrodesc}
 
! \begin{csimplemacrodesc}{Py_BLOCK_THREADS}
 This macro expands to \samp{PyEval_RestoreThread(_save);} i.e. it
 is equivalent to \code{Py_END_ALLOW_THREADS} without the closing
***************
*** 4606,4610 ****
 \end{csimplemacrodesc}
 
! \begin{csimplemacrodesc}{Py_BEGIN_UNBLOCK_THREADS}
 This macro expands to \samp{_save = PyEval_SaveThread();} i.e. it is
 equivalent to \code{Py_BEGIN_ALLOW_THREADS} without the opening brace
--- 4606,4610 ----
 \end{csimplemacrodesc}
 
! \begin{csimplemacrodesc}{Py_UNBLOCK_THREADS}
 This macro expands to \samp{_save = PyEval_SaveThread();} i.e. it is
 equivalent to \code{Py_BEGIN_ALLOW_THREADS} without the opening brace

AltStyle によって変換されたページ (->オリジナル) /