diff options
author | Anton Kling <anton@kling.gg> | 2024-02-07 11:36:21 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-02-07 22:25:47 +0100 |
commit | 35958c8c6b600482f68fef08ac26547b5655e987 (patch) | |
tree | a3329136adc1b92885c60462e7dd74c98eaa0953 /kernel/poll.c | |
parent | b7fa1457727338416499d1b0144f1042a6878a97 (diff) |
A lot of small changes
Diffstat (limited to 'kernel/poll.c')
-rw-r--r-- | kernel/poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/poll.c b/kernel/poll.c index 211faf7..ee92a8c 100644 --- a/kernel/poll.c +++ b/kernel/poll.c @@ -21,7 +21,7 @@ int poll(struct pollfd *fds, size_t nfds, int timeout) { disconnect_locks[i] = create_disconnect_fdhalt(f); } - switch_task(); + switch_task(1); for (size_t i = 0; i < nfds; i++) { if (fds[i].fd < 0) |