mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Correct documentation of check interval - it's 100 by default, not 10 any
longer. Pointed out by Alex Martelli.
This commit is contained in:
parent
74902508dc
commit
eec26f982a
3 changed files with 4 additions and 4 deletions
|
@ -394,8 +394,8 @@ else:
|
|||
\begin{funcdesc}{setcheckinterval}{interval}
|
||||
Set the interpreter's ``check interval''. This integer value
|
||||
determines how often the interpreter checks for periodic things such
|
||||
as thread switches and signal handlers. The default is \code{10},
|
||||
meaning the check is performed every 10 Python virtual instructions.
|
||||
as thread switches and signal handlers. The default is \code{100},
|
||||
meaning the check is performed every 100 Python virtual instructions.
|
||||
Setting it to a larger value may increase performance for programs
|
||||
using threads. Setting it to a value \code{<=} 0 checks every
|
||||
virtual instruction, maximizing responsiveness as well as overhead.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue