Method: Fairy::PoolDictionary#initialize
- Defined in:
- lib/fairy/share/pool-dictionary.rb
#initialize ⇒ PoolDictionary
Returns a new instance of PoolDictionary.
10 11 12 13 14 |
# File 'lib/fairy/share/pool-dictionary.rb', line 10 def initialize @pool = {} @pool_mutex = Mutex.new @pool_cv = XThread::ConditionVariable.new end |