DragonFly commits List (threaded) for 2007-04
DragonFly BSD
DragonFly commits List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libc/sys clock_gettime.2


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 30 Apr 2007 18:52:15 -0700 (PDT)

:Hasso Tepper wrote:
:> Although defined in sys/time.h we don't have CLOCK_VIRTUAL and
:> CLOCK_PROF implemented yet. But we have CLOCK_MONOTONIC.
:
:Actually we should at least comment out CLOCK_VIRTUAL and CLOCK_PROF
:from sys/time.h as well, no? It has potential to cause only problems
:for 3rd party software - define exists (configure check succeeds),
:but feature isn't really implemented.
:
:
:-- 
:Hasso

    I don't remember if I tried doing that before or not.  My presumption
    is that not having those defines can cause programs to also believe
    that CLOCK_MONOTONIC doesn't exist.  It might be easier to just allow
    the system call to return an error and hope the program does the right
    thing.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



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