From b4ed5d70a7c828d7e96496793c681972050526bd Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Tue, 2 Aug 2016 23:17:46 +0200 Subject: [PATCH] syscall "exit" switches always to the non-polling mode --- hermit/kernel/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hermit/kernel/syscall.c b/hermit/kernel/syscall.c index 1788933e7..4a85156f5 100644 --- a/hermit/kernel/syscall.c +++ b/hermit/kernel/syscall.c @@ -100,6 +100,7 @@ void NORETURN sys_exit(int arg) lwip_close(s); idle_poll = 0; } else { + idle_poll = 0; spinlock_unlock(&lwip_lock); }