summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsys.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-10-06 10:29:26 (GMT)
committerGuido van Rossum <guido@python.org>1994-10-06 10:29:26 (GMT)
commit16cd7f9f122fcc8930f9da57ad5e0fe2e41ecebc (patch)
treeebab9478da642a790b8292742cf2bf703c601d14 /Doc/lib/libsys.tex
parentd8336c2286f647b4bba34a39c18fd1ae859da92e (diff)
downloadcpython-16cd7f9f122fcc8930f9da57ad5e0fe2e41ecebc.zip
cpython-16cd7f9f122fcc8930f9da57ad5e0fe2e41ecebc.tar.gz
cpython-16cd7f9f122fcc8930f9da57ad5e0fe2e41ecebc.tar.bz2
Moved author and date to boilerplate.tex.
Added copyright.tex to all files. Added descr of check_interval to libsys.tex. Corrected lotsa typos in tut.tex (thanks to George M. Sipe). Corrected mktuple (should be newtupleobject) example in ext.tex.
Diffstat (limited to 'Doc/lib/libsys.tex')
-rw-r--r--Doc/lib/libsys.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex
index cd2c646..e16fbd5 100644
--- a/Doc/lib/libsys.tex
+++ b/Doc/lib/libsys.tex
@@ -20,6 +20,15 @@ It is always available.
modules.)
\end{datadesc}
+\begin{datadesc}{check_interval}
+When this variable is set to an integer value, it determines how often
+the interpreter checks for periodic things such as thread switches and
+signal handlers. The default is 10, meaning the check is performed
+every 10 Python virtual instructions. Setting this to a large value
+may increase performance for programs using threads. Setting it to a
+value <= 0 checks every virtual instruction, maximizing responsiveness
+as well as overhead.
+
\begin{datadesc}{exc_type}
\dataline{exc_value}
\dataline{exc_traceback}