Method: Wakame::MasterManagers::LockQueue#initialize
- Defined in:
- lib/wakame/master_managers/action_manager.rb
#initialize ⇒ LockQueue
Returns a new instance of LockQueue.
215 216 217 218 219 220 221 222 223 |
# File 'lib/wakame/master_managers/action_manager.rb', line 215 def initialize() @locks = {} @id2res = {} @self_m = ::Mutex.new @queue_by_thread = {} @qbt_m = ::Mutex.new end |