class QuackConcurrency::SafeConditionVariable::Waitable
@see ConditionVariable::Waitable
Uses {SafeSleeper}s to ensure the thread can only be woken by this {SafeConditionVariable}.
Public Class Methods
new(condition_variable)
click to toggle source
Creates a new {Waitable}. @return [Waitable]
Calls superclass method
QuackConcurrency::ConditionVariable::Waitable::new
# File lib/quack_concurrency/safe_condition_variable/waitable.rb, line 10 def initialize(condition_variable) super(condition_variable) @sleeper = SafeSleeper.new end