Further work towards use of win32 file HANDLEs
[sbcl.git] / src / runtime / runtime.h
index e3ff2d7..072f5e4 100644 (file)
@@ -45,9 +45,25 @@ void os_preinit();
 #endif
 
 #if defined(LISP_FEATURE_SB_SAFEPOINT)
+
+typedef enum {
+    GC_NONE=0,
+    GC_FLIGHT,
+    GC_MESSAGE,
+    GC_INVOKED,
+    GC_QUIET,
+    GC_SETTLED,
+    GC_COLLECT,
+    GC_NPHASES
+}  gc_phase_t;
+
 void map_gc_page();
 void unmap_gc_page();
 int check_pending_interrupts();
+void gc_state_lock();
+void gc_state_wait(gc_phase_t);
+void gc_state_unlock();
+
 #endif
 
 /*
@@ -131,6 +147,7 @@ extern struct dyndebug_config {
     int dyndebug_backtrace_when_lost;
     int dyndebug_sleep_when_lost;
     int dyndebug_io;
+    int dyndebug_runtime_link;
 } dyndebug_config;
 
 #ifdef LISP_FEATURE_GENCGC
@@ -359,4 +376,6 @@ extern char *copied_string (char *string);
 # define GENCGC_IS_PRECISE 1
 #endif
 
+void *os_dlsym_default(char *name);
+
 #endif /* _SBCL_RUNTIME_H_ */