From: David Vallner Date: 2006-02-13T01:37:41+09:00 Subject: Re: Thread#stop Dňa Nedeľa 12 Február 2006 08:46 Joel VanderWerf napísal: > David Vallner wrote: > Well, some are fairly short lived, but those ones are fired off by some > "permathreads". In fact, the are so perma that they have a big rescue > clause with a retry (for StandardErrors) around everything they do. > > Still wish I knew how to "freeze frame" all the threads, except the drb > threads that are inspecting them... Do those "permathreads" spend a lot of time in an inconsistent state when it would be dangerous to stop them? I'm still wondering about the latch solution, you could possibly sprinkle those long running threads with waits on the DRb latch to emulate stopping the threadgroup. Of course, that might end up looking really, really ugly with remote debugging code all over your logic. Or would this be unviable due to application responsivity? David Vallner