package mvar
Threadsafe mutable variables for Unix threads
Install
Dune Dependency
Authors
Maintainers
Sources
mvar.1.0.0.tar.gz
sha256=089be6f7715cb631fa9e35e6c645077b00c4d242e7669c0d648f47d2d5c4d6ea
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>