Add a sigself() signal_op
authorKevin Klues <klueska@cs.berkeley.edu>
Wed, 11 Nov 2015 08:46:25 +0000 (00:46 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 16 Nov 2015 23:15:03 +0000 (15:15 -0800)
commit79f8ec8aceec98a370a5c60484c41d047137f4e0
treec4e0bb3992f66c1309414838ecf41cb9f041e0ce
parentbde00f5648a41dbb91a6725067f97882dcf92380
Add a sigself() signal_op

All of the existing signal_ops map directly to traditional signal
operations fro glibc. This commit introduces a new operation, called sigself().
This operation is meant to trigger a signal immediately on the calling
thread.  Before this call returns, the signal passed into it will be
generated and run to compeltion.

Signed-off-by: Kevin Klues <klueska@cs.berkeley.edu>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/parlib/include/signal.h
user/parlib/signal.c