Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268899AbUI2TkI (ORCPT ); Wed, 29 Sep 2004 15:40:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268854AbUI2Thu (ORCPT ); Wed, 29 Sep 2004 15:37:50 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:52683 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S267703AbUI2TgQ (ORCPT ); Wed, 29 Sep 2004 15:36:16 -0400 Date: Wed, 29 Sep 2004 12:34:47 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: George Anzinger cc: Ulrich Drepper , johnstul@us.ibm.com, Ulrich.Windl@rz.uni-regensburg.de, jbarnes@sgi.com, linux-kernel@vger.kernel.org, libc-alpha@sources.redhat.com Subject: Re: Posix compliant CLOCK_PROCESS/THREAD_CPUTIME_ID V4 In-Reply-To: <415B0C9E.5060000@mvista.com> Message-ID: References: <4154F349.1090408@redhat.com> <41550B77.1070604@redhat.com> <4159B920.3040802@redhat.com> <415AF4C3.1040808@mvista.com> <415B0C9E.5060000@mvista.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 950 Lines: 21 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/