From: "Simon Kröger" Date: 2007-10-14T00:50:03+09:00 Subject: Re: Is there a standard pattern for threaded access to a file? ara.t.howard wrote: >[...] > threads = [] and 5.times{ threads << Thread.new{ puts q.pop } } >[...] just a question of style: while the above is quite clever, is there any (hidden) reason to use it over such primitive constructs like threads = Array.new(5){ Thread.new{ puts q.pop } } or threads = (1..5).map{ Thread.new{ puts q.pop } } ? cheers Simon