From: aero6dof@... (Alan Chen) Date: 2003-09-05T08:08:05+09:00 Subject: Re: show me the ruby way Since it's clear that I'm out of sync with everybody else on this issue, I'll stop the torture and drop it :). However, Ari, you will want to be careful with the construct you orignally posted. If your GUI allows the user to cause an access the same undefined key before the thread completes, you'll kick off redundant threads searching for the same resource. Aredridel wrote in message news:<1062691741.4672.4.camel@mizar.nbtsc.org>... > hb3 = Hash.new { |h,k| h[k] = "incomplete" #ADDED: define the value for the key > Thread.new { > some_task_with_immense_processing_that_assigns_to_h(h, k) > } > "incomplete" > } Ari,