Use safepoints for INTERRUPT-THREAD
[sbcl.git] / src / runtime / globals.h
index ddb29ef..fc8ad96 100644 (file)
 # include <sys/types.h>
 # include <unistd.h>
 # include "runtime.h"
+# include "runtime-options.h"
 #endif
 
 #include "sbcl.h"
-#include "runtime-options.h"
 
 #ifndef LANGUAGE_ASSEMBLY
 
@@ -77,6 +77,11 @@ extern lispobj *current_dynamic_space;
 
 extern void globals_init(void);
 
+#ifdef LISP_FEATURE_SB_SAFEPOINT
+# define GC_SAFEPOINT_PAGE_ADDR ((lispobj) gc_safepoint_page)
+extern char gc_safepoint_page[];
+#endif
+
 #else /* LANGUAGE_ASSEMBLY */
 
 # ifdef LISP_FEATURE_MIPS