Subj : Re: nptl and signals To : comp.programming.threads From : Joe Seigh Date : Tue Jul 26 2005 08:53 am divijbhatt@gmail.com wrote: > Hi, > I want to know that how can I generate signals on per thread basis > as it is said in NPTL it is possible.Because otherwise the signal will > be delivered to the process and from the process it will delivered to a > thread randomly. > AFAIK, NPTL hasn't changed any signaling stuff. The Futex api doesn't have anything to do with signals. If you wan't a signal to go to a specific thread then you either have to use a signaling api that can specify a particular thread as a target or else you have to set up the per thread signal masks so that only one thread can get the signal. -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .