On Tue, Sep 01, 2009 at 04:13:02PM -0700, Rafael Vanoni wrote:
> Nicolas Williams wrote:
> >Looks like a candidate for cv_reltimedwait().
> 
> It seemed that way to me before the first code reviewer (Madhavan) 
> pointed out that with cv_reltimedwait() the timer would be reloaded with 
> the same delta at each iteration - where it had originally specified an 
> absolute time limit.

Er, but one must always be prepared to wait again on a CV on wakeup.  So
what should happen is that cv_reltimedwait*() should output the amount
of time left.

Nico
-- 

Reply via email to