1995-08-09 08:06:35 -07:00
|
|
|
/***********************************************************************/
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Objective Caml */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* */
|
|
|
|
/* Xavier Leroy and Damien Doligez, INRIA Rocquencourt */
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Copyright 1996 Institut National de Recherche en Informatique et */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* Automatique. Distributed only by permission. */
|
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
#ifndef _signals_
|
|
|
|
#define _signals_
|
|
|
|
|
|
|
|
#include "misc.h"
|
|
|
|
|
|
|
|
extern value signal_handlers;
|
|
|
|
extern Volatile int pending_signal;
|
1995-12-22 08:48:17 -08:00
|
|
|
extern Volatile int something_to_do;
|
|
|
|
extern Volatile int force_major_slice;
|
1996-04-01 07:24:38 -08:00
|
|
|
extern Volatile int async_signal_mode;
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
void enter_blocking_section P((void));
|
|
|
|
void leave_blocking_section P((void));
|
1995-12-22 08:48:17 -08:00
|
|
|
void urge_major_slice P((void));
|
1995-05-04 03:15:53 -07:00
|
|
|
|
1996-04-01 07:24:38 -08:00
|
|
|
extern void (*enter_blocking_section_hook)();
|
|
|
|
extern void (*leave_blocking_section_hook)();
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
#endif /* _signals_ */
|
|
|
|
|