Faulting pthread signal handlers abort
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 26 Aug 2014 23:32:01 +0000 (16:32 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 26 Aug 2014 23:32:01 +0000 (16:32 -0700)
commit1f27bad1f70caab34048bb20fca154751d33621d
tree5d85dad97443be1d47ca0ae10fec138e3f9426e5
parentdc065cc563ef0b5ab28243855cbd38581a42a1d0
Faulting pthread signal handlers abort

If the handler faults and tries to signal itself, we print the debug info and
abort the process.

Note the sighandler or the process in general can mask or override certain
handlers (like the PF handler) to not do anything.  In which case, the thread
will restart and refault, forever.  That's the process's fault.
user/pthread/pthread.c