Fastream Technologies wrote: > Hello, > > I have a very difficult bug: the program includes lots of critical > sections and it suddenly stops responding!
Sounds like deadlock. > I have a wrapper global > function called lockCriticalSection(TCriticalSection *cs) which calls > acquire. I want to log inside this but need to record the call stack > so that I can see which call is the lastest. Any idea? AFAIK Jedi gives you the callstack only upon an exception. My idea is to use a different synchronization method with a timeout parameter, when the wait timed out you can raise an exception. Would that help? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Best Regards, > > SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be