package batteries

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

A signature for modules which implement locking.

type t

The type of a lock.

val create : unit -> t
val lock : t -> unit
val unlock : t -> unit
val try_lock : t -> bool
OCaml

Innovation. Community. Security.