NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/43326: Some POSIX clock IDs are not defined
>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.
Home |
Main Index |
Thread Index |
Old Index