xlog/lib/mutex.ml

6 lines
203 B
OCaml
Raw Normal View History

2024-04-23 02:36:13 +00:00
(* 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"