Method: Vuf::WorkingPool#run

Defined in:
lib/vuf/working_pool.rb

#runObject



17
18
19
20
21
22
23
24
25
26
# File 'lib/vuf/working_pool.rb', line 17

def run
  if @workers.nil?
    @workers=[]
    @nb_workers.times do 
     @workers << Thread.new do
       works
     end
    end
 end
end