class Rake::MultiTask
Same as a regular task, but the immediate prerequisites are done in parallel using Ruby threads.
Private Instance Methods
Source
# File lib/rake/multi_task.rb 8 def invoke_prerequisites(args, invocation_chain) 9 threads = @prerequisites.collect { |p| 10 Thread.new(p) { |r| application[r, @scope].invoke_with_call_chain(args, invocation_chain) } 11 } 12 threads.each { |t| t.join } 13 end