Method: Rake::Application#thread_pool

Defined in:
lib/rake/application.rb

#thread_poolObject

Return the thread pool used for multithreaded processing.



142
143
144
# File 'lib/rake/application.rb', line 142

def thread_pool             # :nodoc:
  @thread_pool ||= ThreadPool.new(options.thread_pool_size || Rake.suggested_thread_count-1)
end