Simplify. Should also be more efficient.
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 31 Jan 2007 20:23:07 +0000 (20:23 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 31 Jan 2007 20:23:07 +0000 (20:23 +0000)
commitfe2de3d743e07cc5ac3b932eb106fe473bd1a838
tree34976da9e9b809f81d14ed587953163cd2e548e7
parent378867653027a94f1cce74411d51d0037a8d0ad1
Simplify.  Should also be more efficient.
(LwpSigCheck): New.
(lwpCatchAwaitedSig): Set it.
(lwpSigWait): Clear it.
(lwpSigWakeup): Test it.
(lwpSigWakeup): Unblock LwpSigWaiter without testing LwpSigCatched.
(lwpSigWait): Test LwpSigCatched after wakeup.
(LwpSigAwaited, LwpSigPtr): Remove.
src/lib/lwp/sig.c