package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module M : BaseLock

Signature

type t = M.t
val create : unit -> t
val lock : t -> unit
val unlock : t -> unit
val try_lock : t -> bool
val synchronize : ?lock:t -> ('a -> 'b) -> 'a -> 'b
val make : unit -> lock
OCaml

Innovation. Community. Security.