Class: Winloop::Scheduler::Waiter
- Inherits:
-
Struct
- Object
- Struct
- Winloop::Scheduler::Waiter
- Defined in:
- lib/winloop/scheduler.rb
Overview
One blocking wait. ‘settled` is the one-shot guard: whoever wakes the fiber first (I/O completion, timeout, or unblock) sets it; everyone else skips.
Instance Attribute Summary collapse
-
#fiber ⇒ Object
Returns the value of attribute fiber.
-
#settled ⇒ Object
Returns the value of attribute settled.
Instance Attribute Details
#fiber ⇒ Object
Returns the value of attribute fiber
30 31 32 |
# File 'lib/winloop/scheduler.rb', line 30 def fiber @fiber end |
#settled ⇒ Object
Returns the value of attribute settled
30 31 32 |
# File 'lib/winloop/scheduler.rb', line 30 def settled @settled end |