Method: Fairy::CInject::CLocalInject#each_export_by
- Defined in:
- lib/fairy/master/c-inject.rb
#each_export_by(njob, mapper, &block) ⇒ Object
64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/fairy/master/c-inject.rb', line 64 def each_export_by(njob, mapper, &block) @first_node_mutex.synchronize do @no += 1 if @first_node njob.export.output = @first_node.export.output njob.export.no = @no - 1 else super @first_node = njob end end end |