package mvar

  1. Overview
  2. Docs
Threadsafe mutable variables for Unix threads

Install

Dune Dependency

Authors

Maintainers

Sources

mvar.1.0.0.tar.gz
md5=a093c88dbcce7085ed1d673953ae78bd

README.md.html

ocaml-mvar

An OCaml port of Haskell's Control.Concurrent.MVar.

A 'a Mvar.t is a mutable location which can either be empty, or contain a value of type 'a. The location can be written to and read from safely from multiple concurrent Unix threads.

Depends only on OCaml's native threads library, as well as oUnit for testing.