summaryrefslogtreecommitdiffstats
path: root/Doc/ext/extending.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-09 21:09:42 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-09 21:09:42 (GMT)
commit375e30225eeec765d00dfab600f4e7333d8a86d5 (patch)
treeb4cb99ec029e78ecfe5ea58fe1e5c1d36db006c1 /Doc/ext/extending.tex
parent79bf99c5051451b8af900cb26b6080c56690d4a2 (diff)
downloadcpython-375e30225eeec765d00dfab600f4e7333d8a86d5.zip
cpython-375e30225eeec765d00dfab600f4e7333d8a86d5.tar.gz
cpython-375e30225eeec765d00dfab600f4e7333d8a86d5.tar.bz2
Update to use the new \csimplemacro macro
Diffstat (limited to 'Doc/ext/extending.tex')
-rw-r--r--Doc/ext/extending.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/ext/extending.tex b/Doc/ext/extending.tex
index 7eafc05..90385e1 100644
--- a/Doc/ext/extending.tex
+++ b/Doc/ext/extending.tex
@@ -1068,11 +1068,11 @@ involving threads. Normally, multiple threads in the Python
interpreter can't get in each other's way, because there is a global
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:
+\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}
bug(PyObject *list) {