Branch: Tag:

2000-02-08

2000-02-08 18:35:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

More mutex/condvar-paranoia in Thread.Fifo and Thread.Queue.

Rev: lib/modules/Thread.pmod:1.20

32: Inside #if constant(thread_create)
   w_cond::broadcast();    }else{    num--; -  w_cond::signal(); +  w_cond::broadcast();    } -  +  key = 0;    return tmp;    }   
53: Inside #if constant(thread_create)
   ptr=num=0;    buffer=allocate(sizeof(buffer)); // Throw away any references.    } +  key = 0;    w_cond::broadcast();    return ret;    }
68: Inside #if constant(thread_create)
   r_cond::broadcast();    }else{    num++; -  r_cond::signal(); +  r_cond::broadcast();    } -  +  key = 0;    }       void create(int|void size)