(* stub implementation since we actually aren't multithreaded *) type t = unit external create : unit -> t = "%identity" external lock : t -> unit = "%identity" external unlock : t -> unit = "%identity"