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

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


Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv28195/api
Modified Files:
 Tag: release21-maint
	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.117.2.6
retrieving revision 1.117.2.7
diff -C2 -r1.117.2.6 -r1.117.2.7
*** api.tex	2001年06月21日 18:56:49	1.117.2.6
--- api.tex	2001年07月09日 14:34:16	1.117.2.7
***************
*** 4540,4544 ****
 \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
--- 4540,4544 ----
 \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
***************
*** 4547,4551 ****
 \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
--- 4547,4551 ----
 \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 によって変換されたページ (->オリジナル) /