Henrik Nordstrom wrote:
> > If I recall right, cond_wait is boolean, and, if many threads are
> > blocked on cond, and cond_signal does not make thread switch, and
> > another cond_signal is sent, only 1 thread would be unblocked
> > eventually.
>
> yep.
One more comment: It does not matter if cond_signal events are lost, as
long as at least one thread is awakened.
Regards
Henrik
Received on Thu Jan 02 2003 - 12:56:39 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:05 MST