mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
@ -348,7 +348,7 @@ Therefore, the rule exists that only the thread that has acquired the
|
|||
global interpreter lock may operate on Python objects or call Python/C
|
||||
API functions. In order to support multi-threaded Python programs,
|
||||
the interpreter regularly releases and reacquires the lock --- by
|
||||
default, every ten bytecode instructions (this can be changed with
|
||||
default, every 100 bytecode instructions (this can be changed with
|
||||
\withsubitem{(in module sys)}{\ttindex{setcheckinterval()}}
|
||||
\function{sys.setcheckinterval()}). The lock is also released and
|
||||
reacquired around potentially blocking I/O operations like reading or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue