diff options
-rw-r--r-- | byterun/Makefile | 2 | ||||
-rw-r--r-- | byterun/signals.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/byterun/Makefile b/byterun/Makefile index cd4152acb..62448757e 100644 --- a/byterun/Makefile +++ b/byterun/Makefile @@ -35,7 +35,7 @@ PRIMS=alloc.c array.c compare.c extern.c floats.c gc_ctrl.c hash.c \ dynlink.c PUBLIC_INCLUDES=alloc.h callback.h config.h custom.h fail.h intext.h \ - memory.h misc.h mlvalues.h + memory.h misc.h mlvalues.h signals.h all: ocamlrun$(EXE) diff --git a/byterun/signals.h b/byterun/signals.h index f052ba500..b6fe14ca5 100644 --- a/byterun/signals.h +++ b/byterun/signals.h @@ -19,14 +19,18 @@ #include "misc.h" #include "mlvalues.h" +/* <private> */ extern value signal_handlers; CAMLextern int volatile pending_signal; CAMLextern int volatile something_to_do; extern int volatile force_major_slice; CAMLextern int volatile async_signal_mode; +/* </private> */ CAMLextern void enter_blocking_section (void); CAMLextern void leave_blocking_section (void); + +/* <private> */ void urge_major_slice (void); CAMLextern int convert_signal_number (int); void execute_signal(int signal_number, int in_signal_handler); @@ -35,6 +39,7 @@ void process_event(void); CAMLextern void (*enter_blocking_section_hook)(void); CAMLextern void (*leave_blocking_section_hook)(void); CAMLextern void (* volatile async_action_hook)(void); +/* </private> */ #endif /* _signals_ */ |