From: ara.t.howard@... Date: 2006-07-06T07:37:48+09:00 Subject: Re: thread mystery On Thu, 6 Jul 2006, Joel VanderWerf wrote: > No idea, except that it seems to be related to the thread creation (maybe > because it's within the sync block). The following works around it, and is > probably more efficient anyway. I guess the semantics are close to the > original. very interesting joel. thanks. i seem to always end up using to Queue with threads these days anyhow - so i guess this is fine... i suppose it makes sense that one shouldn't create threads from inside a sync block since it uses Thread.critical inside and, therefore, must assume only only thread is running at times. i wonder if there is a pattern for safely creating threads from within another taking into account Thread.critical=true... cheers. -a -- suffering increases your inner strength. also, the wishing for suffering makes the suffering disappear. - h.h. the 14th dali lama