package picos
Pico scheduler framework
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.3.0.tbz
sha256=544804c0bde4b29764f82f04e7defed7c06bc43e5a6ce3f7fdc326cb54a7f066
sha512=4c93427e477fb52374a554a8b9c4c92836a9b5899161275d1473269ab526a1f59177209140631ed763a55be375855dea12f076e18bf4124522414986c0e257be
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)"
>