CVSROOT:        /cvs/src
Module name:    src
Changes by:     [email protected]       2011-05-17 12:08:10

Modified files:
        winsup/cygwin  : ChangeLog cygwin.din hires.h ntdll.h posix.sgml 
                         sysconf.cc thread.cc timer.cc times.cc 
        winsup/cygwin/include: pthread.h 
        winsup/cygwin/include/cygwin: version.h 

Log message:
        * cygwin.din (clock_getcpuclockid): Export.
        (pthread_getcpuclockid): Export.
        * hires.h (PID_TO_CLOCKID): New macro.
        (CLOCKID_TO_PID): New macro.
        (CLOCKID_IS_PROCESS): New macro.
        (THREADID_TO_CLOCKID): New macro.
        (CLOCKID_TO_THREADID): New macro.
        (CLOCKID_IS_THREAD): New macro.
        * ntdll.h (enum _THREAD_INFORMATION_CLASS): Add ThreadTimes.
        * posix.sgml (std-notimpl): Add clock_getcpuclockid and
        pthread_getcpuclockid from here...
        (std-susv4): ... to here.
        (std-notes): Remove limitations of clock_getres and clock_gettime.
        Note limitation of timer_create to CLOCK_REALTIME.
        * sysconf.cc (sca): Set _SC_CPUTIME to _POSIX_CPUTIME, and
        _SC_THREAD_CPUTIME to _POSIX_THREAD_CPUTIME.
        * thread.cc (pthread_getcpuclockid): New function.
        * timer.cc (timer_create): Set errno to ENOTSUP for CPU-time clocks.
        * times.cc (clock_gettime): Handle CLOCK_PROCESS_CPUTIME_ID and
        CLOCK_THREAD_CPUTIME_ID.
        (clock_getres): Ditto.
        (clock_settime): Set errno to EPERM for CPU-time clocks.
        (clock_getcpuclockid): New function.
        * include/pthread.h (pthread_getcpuclockid): Declare.
        * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5354&r2=1.5355
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin.din.diff?cvsroot=src&r1=1.241&r2=1.242
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/hires.h.diff?cvsroot=src&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ntdll.h.diff?cvsroot=src&r1=1.119&r2=1.120
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/posix.sgml.diff?cvsroot=src&r1=1.63&r2=1.64
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sysconf.cc.diff?cvsroot=src&r1=1.57&r2=1.58
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.239&r2=1.240
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/timer.cc.diff?cvsroot=src&r1=1.26&r2=1.27
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/times.cc.diff?cvsroot=src&r1=1.108&r2=1.109
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/pthread.h.diff?cvsroot=src&r1=1.32&r2=1.33
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=src&r1=1.346&r2=1.347

Reply via email to