Handbook
Glossary
sleep-queue ( -- heap )
Factor handbook
»
The language
»
Co-operative threads
»
Thread implementation
Prev:
run-queue ( -- dlist )
Vocabulary
threads
Inputs
None
Outputs
heap
a
min-heap
Variable description
A
min-heap
storing the queue of sleeping threads.
Definition
USING:
heaps
kernel.private
;
IN:
threads
:
sleep-queue
( -- heap )
OBJ-SLEEP-QUEUE
special-object
{
min-heap
}
declare
;
inline