package ounit2

  1. Overview
  2. Docs
OUnit testing framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ounit-v2.2.0.tbz
sha256=b6783612c3dbe0cd244cc93d56d9de9d2d43590d79fe6d1b8e6545b0ce2b5a08
sha512=0f51313b85f834172591c8151d94e13c5249365efa506f710f02b34c951182c58bf27244f845ac20f63dedaadbc3574d152549496856aeebdd29447df03b36bf

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