package riot
An actor-model multi-core scheduler for OCaml 5
Install
Dune Dependency
Authors
Maintainers
Sources
riot-0.0.5.tbz
sha256=01b7b82ccc656b12b7315960d9df17eb4682b8f1af68e9fee33171fee1f9cf88
sha512=d8831d8a75fe43a7e8d16d2c0bb7d27f6d975133e17c5dd89ef7e575039c59d27c1ab74fbadcca81ddfbc0c74d1e46c35baba35ef825b36ac6c4e49d7a41d0c2
doc/src/riot.util/uid.ml.html
Source file uid.ml
1 2 3 4 5 6 7 8 9 10 11
type t = int64 let __current__ = Atomic.make 0L let rec next () = let last = Atomic.get __current__ in let current = Int64.succ last in if Atomic.compare_and_set __current__ last current then last else next () let equal a b = Int64.equal a b let pp ppf t = Format.fprintf ppf "%s" (Int64.to_string t)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>