Continue the pthreads torture.
This commit is contained in:
parent
3d5e34e146
commit
c6687d4591
25 changed files with 440 additions and 124 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue