package ounit2

  1. Overview
  2. Docs
OUnit testing framework

Install

Dune Dependency

Authors

Maintainers

Sources

ounit-2.2.6.tbz
sha256=0690fb1e0e90a18eed5c3566b3cc1825d98b0e8c7d51bb6b846c95c45a615913
sha512=d7cb36a1fe245d02afab606cd1ee755a178ee4cb18fbbfec1df32baa88fa90ef6c9a50d9fd5bde46c7fd9c481f2debe4bafac75c4e3bdfbdb63fc18b0ccce3cc

doc/ounit2.advanced/OUnitShared/index.html

Module OUnitSharedSource

Sourceexception Lock_failure
Sourcetype scope =
  1. | ScopeGlobal
  2. | ScopeProcess
Sourcetype 'a shared_noscope = {
  1. lock : 'a -> unit;
  2. unlock : 'a -> unit;
  3. try_lock : 'a -> bool;
}
Sourcetype shared = {
  1. global : int shared_noscope;
  2. process : int shared_noscope;
}
Sourceval get_scoped : shared -> scope -> int shared_noscope
Sourceval mutex_create : (unit -> unit shared_noscope) ref
Sourcemodule Mutex : sig ... end
Sourceval noscope_create : unit -> 'a shared_noscope
Sourceval create : unit -> shared
OCaml

Innovation. Community. Security.