X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/92f6e64a6da763c45ff9f4ab5eafcab3d8766dcb..b60166b327a9108b07e3069fa6568a451529ffd9:/lunaix-os/hal/term/term_io.c?ds=sidebyside diff --git a/lunaix-os/hal/term/term_io.c b/lunaix-os/hal/term/term_io.c index 57602c8..b1115c8 100644 --- a/lunaix-os/hal/term/term_io.c +++ b/lunaix-os/hal/term/term_io.c @@ -26,7 +26,7 @@ do_read_raw(struct term* tdev) while (sz <= min && dt <= expr) { // XXX should we held the device lock while we are waiting? - sched_yieldk(); + sched_pass(); dt = clock_systime() - t; t += dt;