package picos
Pico scheduler framework
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.1.0.tbz
sha256=0f2dcc67ddd127c68f388f2c36a8725a15723e6aeba7d1ddfcf4e016b54a4674
sha512=bee2a99458a451be285e2f13cc3a9deda8eed4e118bcdfc51c256d2da5bae92eec3386c318fe42dcf451421543b519dc064967158b3f417c9b7b44ce97c5fb75
doc/picos.sync/Picos_sync/Condition/index.html
Module Picos_sync.Condition
Source
A condition implementation for Picos
.
ℹ️ This intentionally mimics the interface of Stdlib.Condition
. Unlike with the standard library condition variable, blocking on this condition variable allows an effects based scheduler to run other fibers on the thread.
Represents a condition variable.
wait condition
unlocks the mutex
, waits for the condition
, and locks the mutex
before returning or raising due to the operation being canceled.
ℹ️ If the fiber has been canceled and propagation of cancelation is allowed, this may raise the cancelation exception.
signal condition
wakes up one fiber waiting on the condition
variable unless there are no such fibers.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>