Class: FiberedMysql2::FiberedConditionVariable
- Inherits:
-
MonitorMixin::ConditionVariable
- Object
- MonitorMixin::ConditionVariable
- FiberedMysql2::FiberedConditionVariable
- Defined in:
- lib/fibered_mysql2/fibered_database_connection_pool.rb
Instance Method Summary collapse
-
#initialize(monitor) ⇒ FiberedConditionVariable
constructor
A new instance of FiberedConditionVariable.
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 |