1995-11-05 09:27:32 -08:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Caml Special Light *)
|
|
|
|
(* *)
|
1995-11-14 09:12:57 -08:00
|
|
|
(* Xavier Leroy and Damien Doligez, INRIA Rocquencourt *)
|
1995-11-05 09:27:32 -08:00
|
|
|
(* *)
|
|
|
|
(* Copyright 1995 Institut National de Recherche en Informatique et *)
|
|
|
|
(* Automatique. Distributed only by permission. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1996-04-01 07:26:00 -08:00
|
|
|
type t
|
|
|
|
external new: unit -> t = "csl_mutex_new"
|
|
|
|
external lock: t -> unit = "csl_mutex_lock"
|
|
|
|
external try_lock: t -> bool = "csl_mutex_try_lock"
|
|
|
|
external unlock: t -> unit = "csl_mutex_unlock"
|