diff options
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); |