module Agnostic_mutex: Agnostic_mutex
Agnostic_mutex
type t
val create : unit -> t
unit -> t
val equal : t -> t -> bool
t -> t -> bool
val lock : t -> unit
t -> unit
val try_lock : t -> bool
t -> bool
val unlock : t -> unit
val critical_section : t -> f:(unit -> 'a) -> 'a
t -> f:(unit -> 'a) -> 'a