void initsys PROTO((void));
extern DL_IMPORT object *sys_trace, *sys_profile;
+extern DL_IMPORT int sys_checkinterval;
#ifdef __cplusplus
}
#include "osdefs.h"
object *sys_trace, *sys_profile;
+int sys_checkinterval;
static object *sysdict;
return None;
}
+static object *
+sys_setcheckinterval(self, args)
+ object *self;
+ object *args;
+{
+ if (!newgetargs(args, "i", &sys_checkinterval))
+ return NULL;
+ INCREF(None);
+ return None;
+}
+
#ifdef USE_MALLOPT
/* Link with -lmalloc (or -lmpc) on an SGI */
#include <malloc.h>
#endif
{"setprofile", sys_setprofile},
{"settrace", sys_settrace},
+ {"setcheckinterval", sys_setcheckinterval},
{NULL, NULL} /* sentinel */
};