[ECOS] POSIX Signals
Thu Apr 21 18:54:00 GMT 2005
On Tue, Apr 19, 2005 at 03:04:49PM -0500, Ali, Khurram wrote:
> In my application, I am using signal numbered 18 to 31. Is that allowed?
> I send a signal 31 using kill(0, 31). My signal 31 has an action handler
> that gets called. I then call sigwait from another thread with 31 added
> to sigset_t. However, sigwait does not return. If I call kill and
> sigwait from the same thread, things work okay.
> Am I doing something wrong or am I missing something?
Is this other thread also a posix thread?
It is probably worth single stepping through kill() to see what it
does. That might give you a clue as to why your code is not working.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss