On Apr 1, 4:32pm, [email protected] (Martin Husemann) wrote: -- Subject: Re: CVS commit: src/sys/kern
| On Mon, Apr 01, 2013 at 02:28:02PM +0000, Christos Zoulas wrote: | > In article <[email protected]>, | > Martin Husemann <[email protected]> wrote: | > >- KASSERT(*timo > 0); | > | > This should really not be failing since itimespecfix uses tick to correct | > the minimal timeout. | | It does not for ts_sec == 0 and ts_nsec == 0. Probably cleaner to check for it there? Anyway, the question is really if we should bother to sleep at all for 0, 0 or shortcut the return. I think we should shortcut the return. christos
