In message <[EMAIL PROTECTED]>
Adam <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Adam wrote:
> > I'm trying to get my head around handling signals in a threaded app.
> > However, I keep just getting a stack backtrace written to stderr. As
> > far as I can tell my signal handler never gets a look in.
> [big snip of example code]
>
> Can anyone give me any pointers? Sorry if I've got it all wrong or am
> asking a stupid question. Perhaps this is the wrong forum - can anyone
> point me to a newsgroup or mailing list for discussing stuff like this
> (e.g. non-ANSI C)?
I can't immediately answer your questions as I think I don't see enough
info to pinpoint what could be the cause. I.e. what is the stacktrace
you mentioned ? You mentioned you "generate a synchronous signal". How ?
An as simple as possible running example demonstrating your question could
help us.
BTW, a good start is probably "Advanced Programming in the UNIX®
Environment " (ISBN 0201433079).
Perhaps Alex Waugh (who contributed the pthread code) knows more.
John.
--
John Tytgat, in his comfy chair at home BASS
[EMAIL PROTECTED] ARM powered, RISC OS driven
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK