From d581d7792bc31e6249ee6ed20bc2a71f53f0d3bb Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Tue, 3 Sep 2002 20:10:45 +0000 Subject: 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/pystate.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'Include/pystate.h') diff --git a/Include/pystate.h b/Include/pystate.h index 913dc7a674..9b61ad7d39 100644 --- a/Include/pystate.h +++ b/Include/pystate.h @@ -22,7 +22,6 @@ typedef struct _is { PyObject *sysdict; PyObject *builtins; - int checkinterval; #ifdef HAVE_DLOPEN int dlopenflags; #endif @@ -50,7 +49,6 @@ typedef struct _ts { struct _frame *frame; int recursion_depth; - int ticker; int tracing; int use_tracing; -- cgit v1.2.1