On 07/02/13 17:27, Izumi Tsutsui wrote:
> Laszlo Ersek wrote:
>> Conversely, the only time we need to send a signal is the 0->1 count
>> transition (*).
>
> Per comments from Soda, signals could be required even on count >0,
> if more than one threads are sleeping in qemu_cond_timedwait(),
> and
Laszlo Ersek wrote:
> On 06/29/13 12:22, Izumi Tsutsui wrote:
> > Fix following bugs in "fallback implementation of counting semaphores
> > with mutex+condvar" added in c166cb72f1676855816340666c3b618beef4b976:
> > - waiting threads are not restarted properly if more than one threads
> >are w