signals: rename CURSIGNB to CURSIG_NOBLOCK and unify implementation
commitf6e7386001beb648ba68734df1fbb72c2c1d2375
authorSimon Schubert <corecode@dragonflybsd.org>
Sat, 7 Mar 2009 18:35:10 +0000 (7 19:35 +0100)
committerSimon Schubert <simon.schubert@epfl.ch>
Mon, 9 Mar 2009 17:00:03 +0000 (9 18:00 +0100)
tree80597d27d15eb1549420fd836dfe532ee239eb20
parente473f7766f04bbc8db8b5f3762586fbaf2e18215
signals: rename CURSIGNB to CURSIG_NOBLOCK and unify implementation

CURSIG() is defined as __cursig() and CURSIGNB() as __cursignb().
However both __cursig() and __cursignb() do almost the same thing, so
consolidate the code into one function.
sys/kern/kern_fork.c
sys/sys/signal2.h