commit | 2b6e43e00ece68b3aba26d8f95f07cd9d9294ab4 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Oct 29 16:11:06 2013 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Oct 29 16:11:06 2013 -0700 |
tree | 7a27d206fb0f2ef7b702c0c785827d607dd7216a | |
parent | 8e6e7cdadbb4efdeefaa73fe94f7a9a1722745a7 [diff] |
Explain the sigprocmask in pthread_exit. Also remove the SIGSEGV special case, which was probably because hand-written __exit_with_stack_teardown stubs used to try to cause SIGSEGV if the exit system call returned (which it never does, so that dead code disappeared). Also move the sigprocmask into the only case where it's necessary --- the one where we unmap the stack that would be used by a signal handler. Change-Id: Ie40d20c1ae2f5e7125131b6b492cba7a2c6d08e9