From: fjoanis@... (Francis Joanis) Date: 2003-08-26T05:45:35+09:00 Subject: Using a trace function with multiple threads Hello all, I'd like to know if the set_trace_func function works on a "per thread" basis or if it works globally. I have a multithreaded application that is required to do some checking inside a trace function. This checking requires having access to the current thread's context to determine its class type, name based on a variable, ... Is there a way to get a hold (an address, an ID, ...) to the active thread's context within a global trace function? Thanks a lot, Francis