diff options
Diffstat (limited to 'kernel/features/io.c')
-rw-r--r-- | kernel/features/io.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/features/io.c b/kernel/features/io.c index da179ab..ac599e2 100644 --- a/kernel/features/io.c +++ b/kernel/features/io.c @@ -182,6 +182,9 @@ void io_unblock(enum io_type io) free(listener); iterator = next; } + + if (proc_idle()) + proc_yield(); } void io_unblock_pid(u32 pid) @@ -200,6 +203,9 @@ void io_unblock_pid(u32 pid) iterator = next; } } + + if (proc_idle()) + proc_yield(); } CLEAR void io_install(struct boot_info *boot) |