lwp: Drop inappropriate oops in lwpSigWait()
lwpSigWait()'s contract specifies failure, which means oopsing is wrong. Harmless, as its only caller empth_wait_for_signal() oopses on failure. Drop it anyway. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
7b9e579408
commit
2c12238ecb
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
* sig.c: Wait for signals
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Markus Armbruster, 2006-2007
|
||||
* Markus Armbruster, 2006-2020
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
@ -117,7 +117,7 @@ lwpSigWait(sigset_t *set, int *sig)
|
|||
{
|
||||
int res;
|
||||
|
||||
if (CANT_HAPPEN(LwpSigWaiter))
|
||||
if (LwpSigWaiter)
|
||||
return EBUSY;
|
||||
for (;;) {
|
||||
LwpSigCheck = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue