diff options
author | rsc <devnull@localhost> | 2005-01-04 22:21:01 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-04 22:21:01 +0000 |
commit | 817f7637e8603ba201d1d74cdf60b36c476a128b (patch) | |
tree | 6a7d06978ad374c12d2a2a232f4dc6487f695c46 /src/libmux | |
parent | d165fa680cba59b60cbe1fe4a0fa8aac92fdef67 (diff) | |
download | plan9port-817f7637e8603ba201d1d74cdf60b36c476a128b.tar.gz plan9port-817f7637e8603ba201d1d74cdf60b36c476a128b.tar.bz2 plan9port-817f7637e8603ba201d1d74cdf60b36c476a128b.zip |
good thing no one uses this.
Diffstat (limited to 'src/libmux')
-rw-r--r-- | src/libmux/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmux/thread.c b/src/libmux/thread.c index 1c643e06..ded2a567 100644 --- a/src/libmux/thread.c +++ b/src/libmux/thread.c @@ -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); |