Subj : Re: pthread_getspecific or __thread for signal handler? To : comp.programming.threads From : Alexander Terekhov Date : Wed Feb 02 2005 12:32 pm Ian Pilcher wrote: [...] > Can you suggest any way to access thread-specific data in a signal > handler? Ensure that your signal handler(s) can't interrupt any async-signal- UNsafe operation. Better yet, get rid of the whole damn async-signal handling thing altogether. regards, alexander. .