diff options
Diffstat (limited to 'os/WaitFor.c')
-rw-r--r-- | os/WaitFor.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c index 993c14e52..732543086 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -175,16 +175,10 @@ WaitForSomething(int *pClientsReady) if (workQueue) ProcessWorkQueue(); if (XFD_ANYSET(&ClientsWithInput)) { - if (!SmartScheduleDisable) { - someReady = TRUE; - waittime.tv_sec = 0; - waittime.tv_usec = 0; - wt = &waittime; - } - else { - XFD_COPYSET(&ClientsWithInput, &clientsReadable); - break; - } + someReady = TRUE; + waittime.tv_sec = 0; + waittime.tv_usec = 0; + wt = &waittime; } if (someReady) { XFD_COPYSET(&AllSockets, &LastSelectMask); |