Add default page fault handling to map to SIGSEGV in pthreads
authorKevin Klues <klueska@cs.berkeley.edu>
Tue, 11 Mar 2014 18:42:16 +0000 (11:42 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Tue, 11 Mar 2014 18:42:16 +0000 (11:42 -0700)
commit0c3bc096ce8359e7e105bca4760a5169ba260d5d
treece0edb0684b068a1035952ed04d28e1c1a2a9845
parent488623a44b67af88b4619b9c3c6f837f4b35c49d
Add default page fault handling to map to SIGSEGV in pthreads

I refactored the signal handling code a bit so that page faults in our
pthread library trigger SIGSEGV signals that application code can
handle.
user/parlib/include/parlib.h
user/parlib/signal.c
user/pthread/pthread.c