Re: difficult multi-threading debugging scenario

2008-03-19 Thread starlight
At 03:03 PM 3/19/2008 +0800, you wrote: >Some questions to ask: . . . Don't have endless time for this--otherwise it would be written in C++ and, ironically, a simple debug attach would tell what's going on when it hangs. Probably the single-thread version will run forever, so can't justify sp

Re: difficult multi-threading debugging scenario

2008-03-19 Thread Foo JH
Some questions to ask: 1. Is it more stable in a 32-bit environment? 2. Does a 'lite' version (no actual work, but threads are scheduled and run) of your MT framework throw out the same problem? 3. Have you thrown in eval() at critical points to capture exceptions? Bear in mind eval in threads wo