Subj : Re: pthread_getspecific or __thread for signal handler? To : comp.programming.threads From : Alexander Terekhov Date : Wed Feb 02 2005 01:06 pm Joseph Seigh wrote: [...] > Async safety isn't an issue if you don't use async unsafe functions > in your signal handler. __thread stuff is nothing but syntactic sugar for pthread_[get/set] specific(). And all pthread calls are async-signal-unsafe. regards, alexander. .