thread_pool()
Return the thread pool used for multithreaded processing.
# File lib/rake/application.rb, line 140 def thread_pool # :nodoc: @thread_pool ||= ThreadPool.new(options.thread_pool_size || Rake.suggested_thread_count-1) end