good thing no one uses this.
This commit is contained in:
parent
d165fa680c
commit
817f7637e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue