Re: POSIX signal handling versus traditional signal handling

From: Maxim Yegorushkin (maxim.yegorushkin_at_gmail.com)
Date: 08/24/05


Date: 24 Aug 2005 01:36:32 -0700


usenet@sta.samsung.com wrote:

> For example, in all the code snippets of POSIX Real-time signal
> handling that I have seen, I don't see any checks to see if the
> signal has been previously set to SIG_IGN, and keeping it that way in
> case it has.

???

> Also, I don't see the signal handler resetting the
> signal, to prevent it from being reset to its default value. Is it
> just the code snippets that I am seeing, or are they indeed different?

Under POSIX you can specify if a handler should be reset or left
unchanged using flags using sigaction().
http://www.opengroup.org/onlinepubs/009695399/functions/sigaction.html



Relevant Pages

  • Re: IM driver crash & resets
    ... This turned out to be a flaw in the handling of resets. ... basically ignores the whole reset scenario, so it was no help at all. ... respond to your request while at the same time freeing all its buffers. ... I use the sample PassThru ...
    (microsoft.public.development.device.drivers)
  • Re: POSIX signal handling versus traditional signal handling
    ... > handling that I have seen, I don't see any checks to see if the ... Under POSIX you can specify if a handler should be reset or left ... unchanged using flags using sigaction(). ...
    (comp.unix.misc)
  • Re: cannot run 2 ISRs at the same time
    ... Where in your code do you reset the IRQ hardware? ... after handling an interrupt, IIRC. ...
    (comp.os.msdos.programmer)
  • Re: Reset Spell Check
    ... Thanks for the the quick reply, unfortunately closing and restarting does not ... reset the flags. ... Any other suggestions on how to reset the flags? ...
    (microsoft.public.powerpoint)
  • Re: NetUserSetInfo does not reset any password flag on Windows 2000 latest SP
    ... You'll need to move up to ADSI or LDAP. ... > I've seen this question asked years ago on the newsgroups, ... Indeed it is able to set each one of them, but it cannot reset ... > administrator, I can set them, why can't I reset those flags back to 0 ...
    (microsoft.public.platformsdk.security)