git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support to multi-threading and pthread interface (POSIX.1-2008) (#23)
[lunaix-os.git]
/
lunaix-os
/
hal
/
term
/
term_io.c
diff --git
a/lunaix-os/hal/term/term_io.c
b/lunaix-os/hal/term/term_io.c
index 57602c81f423abe2bf250101f870210ee7689001..b1115c83c9a4cd5e22cfb119ddd0548e926b6806 100644
(file)
--- 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;