Subj : Re: list of all threads( pthread_t's ) in process To : comp.programming.threads From : David Schwartz Date : Tue Sep 27 2005 08:59 am "shex" wrote in message news:1127824988.463825.217750@g47g2000cwa.googlegroups.com... >I know siblings are alive, but i don't have thier's ids. > I didn't create them, we share the same father. > I want them to do something, print their stack trace in my case. so i > want to signal them, i'll be writting the signal handler method of > course. the only thing missing is their ids. > Can you sugguest another idea for execution the job (i'm looking for a > solution to work on linux\aix)? Is this in an error condition only? Or is the supposed to be part of normal operation? You can't signal them because they could cease to exist in-between when you decide to signal them and when you signal them. You cannot interact safely with another pthread directly unless you control (or at least have knowledge of) its lifetime. DS .