package async_kernel
Monadic concurrency library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=01ced973dbc70535f692f38bed524ae82dba17e26e58791b2fbf0d647b160d2e
doc/async_kernel/Async_kernel/Condition/index.html
Module Async_kernel.Condition
Source
Async's implementation of the standard notion of a "condition" variable.
This is analogous to OCaml's Condition
module. The main guarantee that a condition variable provides is that a call to signal
(or broadcast
) after a call to wait
will be seen by the waiter.
Unlike the use of condition variables in ordinary threaded programs, Async condition variables do not require a mutex, since Async programs are cooperatively threaded.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>