module type BaseLock = sig .. end
sig
end
A signature for modules which implement locking.
type t
The type of a lock.
val create : unit -> t
unit -> t
val lock : t -> unit
t -> unit
val unlock : t -> unit
val try_lock : t -> bool
t -> bool