package picos_std
Sample libraries for Picos
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.6.0.tbz
sha256=3f5a08199cf65c2dae2f7d68f3877178f1da8eabf5376e15114e5a8958087dfa
sha512=ad24910c47ce614268c4268874bb918da7f8b5f03b3ad706bbf30323635262e94ddab6be24eaebbca706bfa82c0a517d4272b396459e020c185942125c9bdb7b
doc/picos_std.sync/Picos_std_sync/Semaphore/Binary/index.html
Module Semaphore.Binary
Source
A binary semaphore.
Represents a binary semaphore.
make initial
creates a new binary semaphore with count of 1
in case initial
is true
and count of 0
otherwise.
release semaphore
sets the count of the semaphore to 1
.
ℹ️ This operation is not cancelable.
acquire semaphore
waits until the count of the semaphore is 1
and then atomically changes the count to 0
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>