1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

syscall "exit" switches always to the non-polling mode

This commit is contained in:
Stefan Lankes 2016-08-02 23:17:46 +02:00
parent 00499bb97b
commit b4ed5d70a7

View file

@ -100,6 +100,7 @@ void NORETURN sys_exit(int arg)
lwip_close(s);
idle_poll = 0;
} else {
idle_poll = 0;
spinlock_unlock(&lwip_lock);
}