From 4da83e7ccebd8ab6eb33747d16292567ec59d7dd Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 5 Mar 2004 03:13:13 +0000 Subject: Various little fixes. --- src/libthread/channel.c | 1 - src/libthread/fdwait.c | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libthread') diff --git a/src/libthread/channel.c b/src/libthread/channel.c index 957a352b..d0fff4a6 100644 --- a/src/libthread/channel.c +++ b/src/libthread/channel.c @@ -201,7 +201,6 @@ _threadnalt++; }else{ altexec(a, s); /* unlocks chanlock, does splx */ } - _sched(); t->chan = Channone; _threadnalt++; return a - alts; diff --git a/src/libthread/fdwait.c b/src/libthread/fdwait.c index e8e3129c..5dd7e868 100644 --- a/src/libthread/fdwait.c +++ b/src/libthread/fdwait.c @@ -146,10 +146,11 @@ pollidle(void *v) for(i=0; i