diff options
author | rsc <devnull@localhost> | 2004-09-21 01:11:28 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-09-21 01:11:28 +0000 |
commit | c6687d4591964cb13df87f55ec4770e778a4a55c (patch) | |
tree | ee669a419904e929ae8ae54fd04c2bb41b5a57b1 /src/libmux | |
parent | 3d5e34e146b5ba5c973230abb624ce9126024569 (diff) | |
download | plan9port-c6687d4591964cb13df87f55ec4770e778a4a55c.tar.gz plan9port-c6687d4591964cb13df87f55ec4770e778a4a55c.tar.bz2 plan9port-c6687d4591964cb13df87f55ec4770e778a4a55c.zip |
Continue the pthreads torture.
Diffstat (limited to 'src/libmux')
-rw-r--r-- | src/libmux/mux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmux/mux.c b/src/libmux/mux.c index 2d5074ee..aa92c200 100644 --- a/src/libmux/mux.c +++ b/src/libmux/mux.c @@ -55,8 +55,9 @@ muxrpc(Mux *mux, void *tx) enqueue(mux, r); /* wait for our packet */ - while(mux->muxer && !r->p) + while(mux->muxer && !r->p){ rsleep(&r->r); + } /* if not done, there's no muxer: start muxing */ if(!r->p){ |