Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/gen



Who said this was guaranteed monotonic? In fact, I wouldn't go around
encouraging its use given how bad the interface is...

.pm

David Laight <dsl%netbsd.org@localhost> writes:
> Module Name:  src
> Committed By: dsl
> Date:         Tue Aug 19 08:31:19 UTC 2003
> 
> Modified Files:
>       src/lib/libc/gen: clock.c
> 
> Log Message:
> Significantly reduce the non-monotonicity of this function.
> The way time is apportioned to interrupt/system/user makes it impossible
> to guarantee monotonicity except by saving the previous value!
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.8 -r1.9 src/lib/libc/gen/clock.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 
> 

-- 
Perry E. Metzger                perry%piermont.com@localhost



Home | Main Index | Thread Index | Old Index