class Rake::MultiTask

  1. lib/rake/multi_task.rb
Parent: Rake

Same as a regular task, but the immediate prerequisites are done in parallel using Ruby threads.

Methods

Private Instance

  1. invoke_prerequisites

Private Instance methods

invoke_prerequisites (args, invocation_chain)
[show source]
    # File lib/rake/multi_task.rb, line 8
 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