[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: nptl 0.26



phil-list redhat com schrieb am 27.02.03 23:13:08:
[...]
> As soon as the lock is released another thread can come in 
> and try to get the condvar.  

Sure, unless the associated "external" mutex is locked by the 
thread calling cond_broadcast() or cond_signal(); "predictable 
scheduling", you know.

> It'll end up in the kernel, waiting for the futex.  If it is 
> this one thread which gets woken ...

This actually sounds quite reasonable; hot is better than cold.

regards,
alexander.

______________________________________________________________________________
Keine Lust, immer Ihre Adressdaten in eine E-Mail zu schreiben? Mit der
vCard ist Schluss damit! Infos - http://freemail.web.de/features/?mc=021153





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]