Subj : Re: Killing threads To : comp.programming.threads From : David Schwartz Date : Tue Aug 16 2005 03:43 pm "Srini Palthepu" wrote in message news:43024DA1.6080905@Lucent.com... > I am having trouble selectively killing threads. > When I send SIGKILL or SIGTERM to a thread > I end up killing the whole process. Of course. > Is there something I am overlooking? It doesn't matter who or what you send a SIGKILL or SIGTERM to, these signals are still fatal signals that terminate a process just as always. > Is there a standard idiom for doing this kind > of thing? Doing what kind of thing? You can't "kill a thread" because a thread is part of a cooperative group. What if it holds a mutex? DS .