concurrency.semaphores vocabulary
Factor handbook ยป Vocabulary index


Documentation
Counting semaphores

Metadata
Parents:concurrency
Tags:concurrency
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
semaphore tuplecount threads


Ordinary words
WordStack effect
<semaphore>( n -- semaphore )
acquire( semaphore -- )
acquire-timeout( semaphore timeout -- )
release( semaphore -- )
wait-to-acquire( semaphore timeout -- )
with-semaphore( semaphore quot -- )
with-semaphore-timeout( semaphore timeout quot -- )


Class predicate words
WordStack effect
semaphore?( object -- ? )


Files


Metadata files