1996-09-04 07:17:43 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Caml Special Light *)
|
|
|
|
(* *)
|
1996-09-08 08:41:59 -07:00
|
|
|
(* Xavier Leroy and Pascal Cuoq, projet Cristal, INRIA Rocquencourt *)
|
1996-09-04 07:17:43 -07:00
|
|
|
(* *)
|
|
|
|
(* Copyright 1995 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 GNU Library General Public License. *)
|
1996-09-04 07:17:43 -07:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1996-09-09 05:25:20 -07:00
|
|
|
type t
|
|
|
|
external create: unit -> t = "caml_condition_new"
|
|
|
|
external wait: t -> Mutex.t -> unit = "caml_condition_wait"
|
|
|
|
external signal: t -> unit = "caml_condition_signal"
|
|
|
|
external broadcast: t -> unit = "caml_condition_broadcast"
|