package ounit2

  1. Overview
  2. Docs
OUnit testing framework

Install

Dune Dependency

Authors

Maintainers

Sources

ounit-2.2.7.tbz
sha256=90f6e63bd1240a51d8b9b2f722059bd79ce00b5276bdd6238b8f5c613c0e7388
sha512=53463e5b1b5a40f424e19f5f6a86338a544079600d1fd121ffc1a6fcaa239630194018faf91ccf360ba40b1b2a8b01cf491935e014c68d2947f6e027a2f0a0f9

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.