package batteries

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

Module BatConcurrent.MakeLockSource

Parameters

module M : BaseLock

Signature

Sourcetype t = M.t

The type of a lock.

Sourceval create : unit -> t
Sourceval lock : t -> unit
Sourceval unlock : t -> unit
Sourceval try_lock : t -> bool
Sourceval synchronize : ?lock:t -> ('a -> 'b) -> 'a -> 'b
Sourceval make : unit -> lock
OCaml

Innovation. Community. Security.