This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
timer_create() returns EINVAL for CLOCK_PROCESS_CPUTIME_ID
- From: "Li, Adam" <adam dot li at intel dot com>
- To: <libc-alpha at sources dot redhat dot com>
- Date: Tue, 11 May 2004 17:50:58 +0800
- Subject: timer_create() returns EINVAL for CLOCK_PROCESS_CPUTIME_ID
Hi,
A test case in open posix testsuite (posixtest.sourceforege.net) fails with EINVAL on timer_create().
http://cvs.sourceforge.net/viewcvs.py/posixtest/posixtestsuite/conformance/interfaces/timer_create/10-1.c
The test case will try to create a timer using CLOCK_PROCESS_CPUTIME_ID.
sysconf(_SC_CPUTIME) returns 200112L.
I am using latest glibc (cvs pull), with NPTL on linux-2.6.5-mm6 on ia32.
Do I miss anything?
Thanks,
-adam
-----------------------------------------------
These are my personal opinions.