Continue the pthreads torture.

This commit is contained in:
rsc 2004-09-21 01:11:28 +00:00
parent 3d5e34e146
commit c6687d4591
25 changed files with 440 additions and 124 deletions

View file

@ -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){