Method: Rake::Application#thread_pool
- Defined in:
- lib/rake/application.rb
#thread_pool ⇒ Object
Return the thread pool used for multithreaded processing.
140 141 142 |
# File 'lib/rake/application.rb', line 140 def thread_pool # :nodoc: @thread_pool ||= ThreadPool.new(.thread_pool_size || FIXNUM_MAX) end |