timer_create() returns EINVAL for CLOCK_PROCESS_CPUTIME_ID

Li, Adam adam.li@intel.com
Tue May 11 21:27:00 GMT 2004


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.



More information about the Libc-alpha mailing list