On Wed, Sep 05, 2007 at 11:43:34AM +0300, Marius Vollmer wrote:
> "ext Daniel Stone" <[EMAIL PROTECTED]> writes:
> > On Tue, Sep 04, 2007 at 11:01:40PM -0700, ext Jayesh Salvi wrote:
> >> If you end up registering your signal handlers - do only little in those
> >> signal handlers. It's not a good idea to keep executing once you have
> >> corrupted memory - you might run into more ugly errors.
> >
> > Indeed, man signal (at least from glibc) explicitly lists the only calls
> > that are safe to run from signal handlers.
> 
> Which is of course a different thing: even if you only use the
> signal-safe functions in your handler, you shouldn't ever return from
> it and try to continue the program.

Of course; I wasn't trying to suggest otherwise.  'Do absolutely bugger
all, and then get out.'

Attachment: signature.asc
Description: Digital signature

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to