| commit | 817f7637e8603ba201d1d74cdf60b36c476a128b | [log] [tgz] |
|---|---|---|
| author | rsc <devnull@localhost> | Tue Jan 04 22:21:01 2005 +0000 |
| committer | rsc <devnull@localhost> | Tue Jan 04 22:21:01 2005 +0000 |
| tree | 6a7d06978ad374c12d2a2a232f4dc6487f695c46 | |
| parent | d165fa680cba59b60cbe1fe4a0fa8aac92fdef67 [diff] |
good thing no one uses this.
diff --git a/src/libmux/thread.c b/src/libmux/thread.c index 1c643e0..ded2a56 100644 --- a/src/libmux/thread.c +++ b/src/libmux/thread.c
@@ -16,7 +16,7 @@ { proccreate(_muxrecvproc, mux, STACK); qlock(&mux->lk); - while(!mux->writeq) + while(!mux->readq) rsleep(&mux->rpcfork); qunlock(&mux->lk); proccreate(_muxsendproc, mux, STACK);