This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Posix compliant CLOCK_PROCESS/THREAD_CPUTIME_ID V4


On Wed, 29 Sep 2004, George Anzinger wrote:

> > So restrict timer_create to CLOCK_REALTIME and CLOCK_MONOTONIC? Is it
> > necessary to be able to derive a timer from a timer derives from those
> > two?
> >
> > something like the following (just inlined for the discussion ...)?
>
> NO.  This is handled through the dispatch table (as set up when you register the
> clock).  You just supply a timer_create() function that returns the right error.
>   Likewise, attempts to use clock_nanosleep().  The issue with clock_nanosleep,
> however, is that it, at this time, is not sent through the dispatch table.  This
> should be changed to, again call the same error function.

Ok. I gotta look at this again.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]