1996-11-29 08:55:09 -08:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml *)
|
1996-11-29 08:55:09 -08:00
|
|
|
(* *)
|
|
|
|
(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml port by John Malecki and Xavier Leroy *)
|
1996-11-29 08:55:09 -08:00
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
1996-11-29 08:55:09 -08:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(************************* Trap barrier ********************************)
|
|
|
|
|
|
|
|
val install_trap_barrier : int -> unit
|
|
|
|
|
|
|
|
val remove_trap_barrier : unit -> unit
|
|
|
|
|
|
|
|
(* Ensure the trap barrier state is up to date in current checkpoint. *)
|
|
|
|
val update_trap_barrier : unit -> unit
|
|
|
|
|
|
|
|
(* Execute `funct' with a trap barrier. *)
|
|
|
|
(* --- Used by `finish'. *)
|
|
|
|
val exec_with_trap_barrier : int -> (unit -> unit) -> unit
|