Installer signals.h dans les includes publics (pour enter/leave_blocking_section)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5616 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
e697df642b
commit
0c9ced52bf
|
@ -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)
|
||||
|
||||
|
|
|
@ -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_ */
|
||||
|
||||
|
|
Loading…
Reference in New Issue