package ocaml-base-compiler
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Official release 5.0.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
5.0.0.tar.gz
sha256=72fa3d0ba19b82fcb9e6c62e0090b9d22e5905c4be0f94faf56904a9377a9e5b
doc/stdlib/Stdlib/Atomic/index.html
Module Stdlib.AtomicSource
Atomic references.
See 'Memory model: The hard bits' chapter in the manual.
An atomic (mutable) reference to a value of type 'a.
Set a new value for the atomic reference, and return the current value.
compare_and_set r seen v sets the new value of r to v only if its current value is physically equal to seen -- the comparison and the set occur atomically. Returns true if the comparison succeeded (so the set happened) and false otherwise.
fetch_and_add r n atomically increments the value of r by n, and returns the current value (before the increment).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>