This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On May 15 14:35, Yaakov (Cygwin/X) wrote:On Sun, 2011-05-15 at 13:49 -0500, Yaakov Selkowitz wrote:I have a patch pending for Cygwin to support POSIX CPU-time clocks, but newlib needs to be patched first.
Unfortunately, newlib's clock ID definitions are not POSIX-compliant; the names are missing the ending "_ID". Fixing this will affect RTEMS, as they have been using the misnamed definitions for some time. I have a patch for RTEMS' CVS HEAD, but the ramifications may be larger than that, I don't know.
Patch attached.
Thanks. Maybe we should just define CLOCK_PROCESS_CPUTIME and CLOCK_THREAD_CPUTIME for rtems as well. So the rtems maintainers can decide when this can go away:
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |