On Apr 1, 4:32pm, mar...@duskware.de (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 <20130401123134.dbf3b17...@cvs.netbsd.org>, | > Martin Husemann <source-changes-d@NetBSD.org> 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