summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-10-19 21:36:56 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-10-19 21:36:56 (GMT)
commitd22eb5953506e1706b585cbcb3d08483062bd0b0 (patch)
treedb190bb03ea12684aa3fdc274fdc63629af04450
parente7c38d48ff920e5b669a4807564ae0d675510983 (diff)
downloadcpython-d22eb5953506e1706b585cbcb3d08483062bd0b0.zip
cpython-d22eb5953506e1706b585cbcb3d08483062bd0b0.tar.gz
cpython-d22eb5953506e1706b585cbcb3d08483062bd0b0.tar.bz2
Added a paragraph to explain that SchedParams(0, 0) is usually what
you want.
-rw-r--r--Doc/mac/libmacos.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/mac/libmacos.tex b/Doc/mac/libmacos.tex
index 99858cf..3a2de16 100644
--- a/Doc/mac/libmacos.tex
+++ b/Doc/mac/libmacos.tex
@@ -60,6 +60,9 @@ value of this function is a tuple with the old values of these options.
Initial defaults are that all processing is enabled, checking is done every
quarter second and the processor is given up for a quarter second when in the
background.
+
+The most common use case is to call \code{SchedParams(0, 0)} to completely disable
+event handling in the interpreter mainloop.
\end{funcdesc}
\begin{funcdesc}{HandleEvent}{ev}