Messages in this thread | | | Date | Sat, 22 Feb 2003 20:45:20 -0800 (PST) | From | Tom Sanders <> | Subject | Question about Linux signal handling |
| |
If I catch a signal (SIGUSR2) using "sigaction" call then is the signal handler replaced with default handling, if I don't install the signal handler again?
I remember that in UNIX "signal" system call default signal bahavior was to replace the signal handler with default after everytime signal was received?
My observation is that even if I get same signal twice, I get the same print (which I have in my signal handler) again, illustrating that signal handler was not replaced with default !!! Is that the correct behavior of "sigaction"?
Thanks, Tom
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |