mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Merged revisions 76906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r76906 | ezio.melotti | 2009-12-20 01:26:38 +0200 (Sun, 20 Dec 2009) | 9 lines Merged revisions 76904 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76904 | ezio.melotti | 2009-12-20 00:41:49 +0200 (Sun, 20 Dec 2009) | 1 line #7388: "python".capitalize() in the Doc ........ ................
This commit is contained in:
parent
188aace8d8
commit
890c193887
21 changed files with 24 additions and 24 deletions
|
@ -815,7 +815,7 @@ pointer and a void argument.
|
|||
.. index:: single: setcheckinterval() (in module sys)
|
||||
|
||||
Every check interval, when the global interpreter lock is released and
|
||||
reacquired, python will also call any such provided functions. This can be used
|
||||
reacquired, Python will also call any such provided functions. This can be used
|
||||
for example by asynchronous IO handlers. The notification can be scheduled from
|
||||
a worker thread and the actual call than made at the earliest convenience by the
|
||||
main thread where it has possession of the global interpreter lock and can
|
||||
|
@ -833,7 +833,7 @@ perform any Python API calls.
|
|||
exception. The notification function won't be interrupted to perform another
|
||||
asynchronous notification recursively, but it can still be interrupted to
|
||||
switch threads if the global interpreter lock is released, for example, if it
|
||||
calls back into python code.
|
||||
calls back into Python code.
|
||||
|
||||
This function returns 0 on success in which case the notification has been
|
||||
scheduled. Otherwise, for example if the notification buffer is full, it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue