commit | 743db36cd208c6f212a6b534e6bb8ee9256505ad | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Thu Aug 13 14:13:11 1992 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Thu Aug 13 14:13:11 1992 +0000 |
tree | 4fd1cb1b4cfd05d3f6962df90b563cd71641a680 | |
parent | 1738388c59c0fb727f73024e469aae59dda43ae7 [diff] [blame] |
Modified to allow other threads to run in a multithreaded environment.
diff --git a/Modules/sgimodule.c b/Modules/sgimodule.c index fca4806..1951ad8 100644 --- a/Modules/sgimodule.c +++ b/Modules/sgimodule.c
@@ -26,6 +26,7 @@ #include "allobjects.h" #include "modsupport.h" +#include "ceval.h" extern int sginap(long); @@ -37,7 +38,9 @@ long ticks; if (!getargs(args, "l", &ticks)) return NULL; + BGN_SAVE sginap(ticks); + END_SAVE INCREF(None); return None; }