]> granicus.if.org Git - python/commit
replace thread state objects' ticker and checkinterval fields with two
authorSkip Montanaro <skip@pobox.com>
Tue, 3 Sep 2002 20:10:45 +0000 (20:10 +0000)
committerSkip Montanaro <skip@pobox.com>
Tue, 3 Sep 2002 20:10:45 +0000 (20:10 +0000)
commitd581d7792bc31e6249ee6ed20bc2a71f53f0d3bb
tree5dc5dd8a449fabd541a8f1050d49d7a381b60140
parentd229b3ae048ca51d9f3865e1e9eaf83ba5a6c424
replace thread state objects' ticker and checkinterval fields with two
globals, _Py_Ticker and _Py_CheckInterval.  This also implements Jeremy's
shortcut in Py_AddPendingCall that zeroes out _Py_Ticker.  This allows the
test in the main loop to only test a single value.

The gory details are at

    http://python.org/sf/602191
Include/ceval.h
Include/pystate.h
Objects/longobject.c
Python/ceval.c
Python/sysmodule.c