Method: Rake::Application#thread_pool
- Defined in:
- lib/rake/application.rb
#thread_pool ⇒ Object
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(.thread_pool_size || Rake.suggested_thread_count-1) end |