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:
parent
00499bb97b
commit
b4ed5d70a7
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ void NORETURN sys_exit(int arg)
|
|||
lwip_close(s);
|
||||
idle_poll = 0;
|
||||
} else {
|
||||
idle_poll = 0;
|
||||
spinlock_unlock(&lwip_lock);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue