Hacked By AnonymousFox

Current Path : /proc/thread-self/root/opt/alt/ruby19/lib64/ruby/1.9.1/rake/
Upload File :
Current File : //proc/thread-self/root/opt/alt/ruby19/lib64/ruby/1.9.1/rake/multi_task.rb

module Rake

  # Same as a regular task, but the immediate prerequisites are done in
  # parallel using Ruby threads.
  #
  class MultiTask < Task
    private
    def invoke_prerequisites(args, invocation_chain)
      threads = @prerequisites.collect { |p|
        Thread.new(p) { |r| application[r, @scope].invoke_with_call_chain(args, invocation_chain) }
      }
      threads.each { |t| t.join }
    end
  end

end

Hacked By AnonymousFox1.0, Coded By AnonymousFox