2000-01-31 21:43:25 -08:00
|
|
|
(*************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Objective Caml LablTk library *)
|
|
|
|
(* *)
|
|
|
|
(* Jacques Garrigue, Kyoto University RIMS *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 2000 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique and Kyoto University. All rights reserved. *)
|
|
|
|
(* This file is distributed under the terms of the GNU Library *)
|
2001-12-07 05:41:02 -08:00
|
|
|
(* General Public License, with the special exception on linking *)
|
|
|
|
(* described in file ../../../LICENSE. *)
|
2000-01-31 21:43:25 -08:00
|
|
|
(* *)
|
|
|
|
(*************************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
|
|
|
module Mutex : sig
|
|
|
|
type t
|
|
|
|
external create : unit -> t = "%ignore"
|
|
|
|
external lock : t -> unit = "%ignore"
|
|
|
|
external unlock : t -> unit = "%ignore"
|
|
|
|
end
|
|
|
|
|
|
|
|
module Thread : sig
|
|
|
|
type t
|
2003-12-29 14:15:02 -08:00
|
|
|
external create : ('a -> 'b) -> 'a -> t = "caml_ml_input"
|
2000-01-31 21:43:25 -08:00
|
|
|
end
|