Class: FiberedMysql2::FiberedConditionVariable

Inherits:
MonitorMixin::ConditionVariable
  • Object
show all
Defined in:
lib/fibered_mysql2/fibered_database_connection_pool.rb

Instance Method Summary collapse

Constructor Details

#initialize(monitor) ⇒ FiberedConditionVariable

Returns a new instance of FiberedConditionVariable.



16
17
18
19
# File 'lib/fibered_mysql2/fibered_database_connection_pool.rb', line 16

def initialize(monitor)
  @monitor = monitor
  @cond = EM::Synchrony::Thread::ConditionVariable.new
end