package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type lock = BatConcurrent.lock
val create : enter:(unit -> unit) -> leave:(unit -> unit) -> lock
val nolock : lock
val synchronize : (unit -> lock) -> ('a -> 'b) -> 'a -> 'b
val sync : lock -> ('a -> 'b) -> 'a -> 'b
val compose : lock -> lock -> lock
module type BaseLock = sig ... end
module type Lock = sig ... end
module MakeLock (M : BatConcurrent.BaseLock) : sig ... end
module NoLock : sig ... end
OCaml

Innovation. Community. Security.