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

Re: Poor condvar performance



On Tue, 25 Nov 2003, Luke Elliott wrote:

> Ulrich stated that "The best solution is to get requeue working
> (although two syscalls are made)." I would also appreciate some
> clarification of this - does it mean that the immediate scheduling of
> the woken thread would not happen, in a similar way to the hack to
> sched.c above? Because that seems to be a bad thing.

requeue means that the waiting thread is directly queued from the condvar
futex to the mutex futex, without any intermediate scheduling.

this already happens for cond_broadcast() - but you are using
cond_signal(), correct?

	Ingo




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