tgood thing no one uses this. - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 817f7637e8603ba201d1d74cdf60b36c476a128b
parent d165fa680cba59b60cbe1fe4a0fa8aac92fdef67
Author: rsc 
Date:   Tue,  4 Jan 2005 22:21:01 +0000

good thing no one uses this.

Diffstat:
  M src/libmux/thread.c                 |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libmux/thread.c b/src/libmux/thread.c
t@@ -16,7 +16,7 @@ muxthreads(Mux *mux)
 {
         proccreate(_muxrecvproc, mux, STACK);
         qlock(&mux->lk);
-        while(!mux->writeq)
+        while(!mux->readq)
                 rsleep(&mux->rpcfork);
         qunlock(&mux->lk);
         proccreate(_muxsendproc, mux, STACK);