NetBSD Problem Report #43326
From jruohone@gmail.com Wed May 19 07:23:59 2010
Return-Path: <jruohone@gmail.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 9554563B873
for <gnats-bugs@gnats.netbsd.org>; Wed, 19 May 2010 07:23:59 +0000 (UTC)
Message-Id: <20100519072355.10088F890@marx.bitnet>
Date: Wed, 19 May 2010 10:23:55 +0300 (EEST)
From: Jukka Ruohonen <jruohonen@iki.fi>
Sender: a b <jruohone@gmail.com>
Reply-To: jruohonen@iki.fi
To: gnats-bugs@gnats.NetBSD.org
Subject: Some POSIX clock IDs are not defined
X-Send-Pr-Version: 3.95
>Number: 43326
>Category: lib
>Synopsis: Some POSIX clock IDs are not defined
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 19 07:25:00 +0000 2010
>Originator: Jukka Ruohonen
>Release: NetBSD 5.0_STABLE - 5.99.27
>Organization:
-
>Environment:
>Description:
Some optional POSIX clock IDs are not defined.
Namely:
CLOCK_PROCESS_CPUTIME_ID <-> _POSIX_CPUTIME <-> _SC_CPUTIME
CLOCK_THREAD_CPUTIME_ID <-> _POSIX_THREAD_CPUTIME <-> _SC_THREAD_CPUTIME
>How-To-Repeat:
Code inspection.
>Fix:
A proposition:
(a) Add the definitions.
(b) Go through the functions using 'clockid_t' and return with
ENOTSUP for these. At least in:
* clock_getres(2)
* clock_gettime(2)
* clock_settime(2)
* timer_create(2)
Alternatively, solve this at the level of documentation.
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.