Method: Pool#push
- Defined in:
- lib/mega/pool.rb
#push(obj) ⇒ Object
Add, restore an object to the pool.
53 54 55 56 57 58 |
# File 'lib/mega/pool.rb', line 53 def push(obj) synchronize do super @cv.signal() end end |
Add, restore an object to the pool.
53 54 55 56 57 58 |
# File 'lib/mega/pool.rb', line 53 def push(obj) synchronize do super @cv.signal() end end |