Method: Thread::Pool#shutdown!

Defined in:
lib/storyboard/thread-util.rb

#shutdown!Object



164
165
166
167
168
169
170
171
172
173
# File 'lib/storyboard/thread-util.rb', line 164

def shutdown!
  @mutex.synchronize {
    @shutdown = :now
    @cond.broadcast
  }

  wake_up_timeout

  self
end