diff --git a/xio-socket.c b/xio-socket.c index cd11c14..d93bb98 100644 --- a/xio-socket.c +++ b/xio-socket.c @@ -566,6 +566,11 @@ void xiosigaction_hasread(int signum, siginfo_t *siginfo, void *ucontext) { Debug("xiosigaction_hasread() ->"); return; } + if (pid == xio_waitingfor) { + xio_hashappened = true; + Debug("xiosigaction_hasread() ->"); + return; + } } while (1); } if (xio_waitingfor == siginfo->si_pid) {