package ounit

  1. Overview
  2. Docs

Module OUnitShared.MutexSource

Sourcetype t = int * scope
Sourceval create : 'a -> int * 'a
Sourceval lock : shared -> (int * scope) -> unit
Sourceval try_lock : shared -> (int * scope) -> bool
Sourceval unlock : shared -> (int * scope) -> unit
Sourceval with_lock : shared -> (int * scope) -> (unit -> 'a) -> 'a
OCaml

Innovation. Community. Security.