Re: Posix compliant CLOCK_PROCESS/THREAD_CPUTIME_ID V4

From: Christoph Lameter
Date: Wed Sep 29 2004 - 14:44:49 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/