struct Syn::Core::WaitList
- Syn::Core::WaitList
- Struct
- Value
- Object
Overview
Holds a singly linked list of pending Fiber
. It is used to build all the
other concurrency objects. Implemented as a FIFO list. Assumes that a
Fiber
can only ever be in a single WaitList
at any given time, and will
be suspended while it's in the list.
Defined in:
core/wait_list.crConstructors
Instance Method Summary
- #clear : Nil
- #delete(fiber : Fiber) : Nil
- #each(& : Fiber -> ) : Nil
- #each : Iterator | Nil
- #initialize
- #push(fiber : Fiber) : Nil
- #shift? : Fiber | Nil