>There is no particular problem with this behavior for >asynchronously-generated signals. The case of a >synchronously-generated signal (SIGSEGV for example) >"cannot happen" because critical regions only occur >within libc and libc does not fail in this way (modulo >undiscovered bugs, of course). The alternate stack >was invented for processes that exhaust their stack >and incur SIGSEGV as a result. It was not invented >for normal signals.
I think the "module undiscovered bugs" bit is a bit of a stretch: an application which overflows the stack can easily do that in a libc critical section. (I'm not sure what use trapping SIGBUS and SIGSEGV in such sections is) Casper _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
