Subj : Re: Killing threads To : comp.programming.threads From : steve Date : Tue Aug 16 2005 10:36 pm In article <43024D9A.5010503@Lucent.com>, Srini Palthepu wrote: >I am having trouble selectively killing threads. >When I send SIGKILL or SIGTERM to a thread >I end up killing the whole process. Yup, that's what the default signal handlers for those signals do. >Is there something I am overlooking? >Is there a standard idiom for doing this kind >of thing? Why are you trying to kill threads? Is cancellation not what you want? If not, you need to roll your own signalling mechanism. Without knowing much more about your application structure, I can't offer better suggestions except to say that it's a thoroughly solved problem. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8" / 37N 20' 14.9" Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices... .