Sha256: be1df260e1f6813fd535c89bb2cb609c900ce7858539934b05693e2b37833cb4
Contents?: true
Size: 410 Bytes
Versions: 1
Compression:
Stored size: 410 Bytes
Contents
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].invoke_with_call_chain(args, invocation_chain) } } threads.each { |t| t.join } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jimweirich-rake-0.8.5 | lib/rake/multi_task.rb |