lib/garcon/task/executor.rb
# Begin an orderly shutdown. Tasks already in the queue will be executed,
# but no new tasks will be accepted. Has no additional effect if the
# thread pool is not running.
#
Begin an orderly shutdown. Tasks already in the queue will be executed,
but no new tasks will be accepted. Has no additional effect if the
thread pool is not running.
Begin an orderly shutdown . Tasks already in the queue will be executed but no new tasks will be accepted . Has no additional effect if the thread pool is not running .
def shutdown
      mutex.synchronize do
        break unless running?
        stop_event.set
        shutdown_execution
      end
      true
    end
def shutdown mutex . synchronize do break unless running? stop_event . set shutdown_execution end true end
Begin an orderly shutdown.
Begin an orderly shutdown .