Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
On Apr 1, 4:32pm, martin%duskware.de@localhost (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.DBF3B175DD%cvs.netbsd.org@localhost>,
| > Martin Husemann <source-changes-d%NetBSD.org@localhost> 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
Home |
Main Index |
Thread Index |
Old Index