Re: Signals and threads
- From: loic-dev@xxxxxxx
- Date: 24 Nov 2006 03:42:34 -0800
Hello Thomas,
I have a problem using sigaction function in pthread library.
I have 2 thread each one registering
The first question is: what are you trying to achieve? Do you want to
have one signal handler per thread? Why Do you need this functionality?
You should know that a signal handler is a process specific property,
i.e. is shared among all threads (but each thread has its own signal
mask). So there's no way to achieve that functionality using
Pthreads/SUS.
Now, if you could explain what you want to achieve in more extend, we
could perhaps help you further.
Cheers,
Loic.
.
- Follow-Ups:
- Re: Signals and threads
- From: shibu-kundara
- Re: Signals and threads
- References:
- Signals and threads
- From: shibu-kundara
- Signals and threads
- Prev by Date: Re: Looking for a extensible shell for debug purpose
- Next by Date: Re: Signals and threads
- Previous by thread: Signals and threads
- Next by thread: Re: Signals and threads
- Index(es):