summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/ceval.h4
-rw-r--r--Include/pystate.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index 63204b2..e1af801 100644
--- a/Include/ceval.h
+++ b/Include/ceval.h
@@ -48,6 +48,10 @@ PyAPI_FUNC(int) Py_GetRecursionLimit(void);
PyAPI_FUNC(char *) PyEval_GetFuncName(PyObject *);
PyAPI_FUNC(char *) PyEval_GetFuncDesc(PyObject *);
+/* this used to be handled on a per-thread basis - now just two globals */
+PyAPI_DATA(volatile int) _Py_Ticker;
+PyAPI_DATA(int) _Py_CheckInterval;
+
/* Interface for threads.
A module that plans to do a blocking system call (or something else
diff --git a/Include/pystate.h b/Include/pystate.h
index 913dc7a..9b61ad7 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;