src/winsup/w32api ChangeLog Makefile.in includ ...

2011-03-11 Thread ironhead
CVSROOT:/cvs/src
Module name:src
Changes by: ironh...@sourceware.org 2011-03-12 04:33:16

Modified files:
winsup/w32api  : ChangeLog Makefile.in 
winsup/w32api/include: w32api.h 

Log message:
2011-03-11  Chris Sutcliffe  

* include/w32api.h: Increment version to 3.17.
* Makefile.in: Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=src&r1=1.1075&r2=1.1076
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/Makefile.in.diff?cvsroot=src&r1=1.52&r2=1.53
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/w32api.h.diff?cvsroot=src&r1=1.39&r2=1.40



src/winsup/cygwin ChangeLog times.cc

2011-03-11 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cv-post-1_7_9
Changes by: cori...@sourceware.org  2011-03-11 15:56:05

Modified files:
winsup/cygwin  : ChangeLog times.cc 

Log message:
* times.cc (clock_setres): Use status code from NtSetTimerResolution
to compute errno.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.5189.2.5&r2=1.5189.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/times.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.103.2.4&r2=1.103.2.5



src/winsup/cygwin ChangeLog cygwin.din posix.s ...

2011-03-11 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cv-post-1_7_9
Changes by: cori...@sourceware.org  2011-03-11 11:37:50

Modified files:
winsup/cygwin  : ChangeLog cygwin.din posix.sgml pthread.cc 
 thread.cc thread.h 
winsup/cygwin/include: pthread.h 
winsup/cygwin/include/cygwin: types.h version.h 

Log message:
* cygwin.din (pthread_spin_destroy): Export.
(pthread_spin_init): Export.
(pthread_spin_lock): Export.
(pthread_spin_trylock): Export.
(pthread_spin_unlock): Export.
* posix.sgml (std-susv4): Add pthread_spin_destroy, pthread_spin_init,
pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock.
(std-notimpl): Remove pthread_spin_[...].
* pthread.cc (pthread_spin_init): New function.
* thread.cc (pthread_spinlock::is_good_object): New function.
(pthread_mutex::pthread_mutex): Rearrange initializers to accommodate
protected data in pthread_mutex.
(pthread_spinlock::pthread_spinlock): New constructor.
(pthread_spinlock::lock): New method.
(pthread_spinlock::unlock): New method.
(pthread_spinlock::init): New method.
(pthread_spin_lock): New function.
(pthread_spin_trylock): New function.
(pthread_spin_unlock): New function.
(pthread_spin_destroy): New function.
* thread.h (PTHREAD_SPINLOCK_MAGIC): Define.
(class pthread_mutex): Change access level of members shared with
derived classes to protected.
(pthread_mutex::set_shared): New protected method.
(class pthread_spinlock): New class, derived class of pthread_mutex.
* include/pthread.h (pthread_spin_destroy): Declare.
(pthread_spin_init): Declare.
(pthread_spin_lock): Declare.
(pthread_spin_trylock): Declare.
(pthread_spin_unlock): Declare.
* include/cygwin/types.h (pthread_spinlock_t): New typedef.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.5189.2.4&r2=1.5189.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin.din.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.232&r2=1.232.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/posix.sgml.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.53&r2=1.53.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pthread.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.33&r2=1.33.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.225&r2=1.225.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.114&r2=1.114.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/pthread.h.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.28&r2=1.28.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/types.h.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.32&r2=1.32.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.336&r2=1.336.2.1



src/winsup/cygwin times.cc

2011-03-11 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cv-post-1_7_9
Changes by: cori...@sourceware.org  2011-03-11 11:24:38

Modified files:
winsup/cygwin  : times.cc 

Log message:
Fix previous fix for typo

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/times.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.103.2.3&r2=1.103.2.4



src/winsup/cygwin ChangeLog times.cc

2011-03-11 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cv-post-1_7_9
Changes by: cori...@sourceware.org  2011-03-11 11:22:06

Modified files:
winsup/cygwin  : ChangeLog times.cc 

Log message:
* times.cc (hires_ms::timeGetTime_ns): Fix typo in comment.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.5189.2.3&r2=1.5189.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/times.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.103.2.2&r2=1.103.2.3



src/winsup/cygwin ChangeLog times.cc

2011-03-11 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cv-post-1_7_9
Changes by: cori...@sourceware.org  2011-03-11 11:17:50

Modified files:
winsup/cygwin  : ChangeLog times.cc 

Log message:
* times.cc (hires_ms::timeGetTime_ns): Document entire functionality
of timeGetTime in case we need it.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.5189.2.2&r2=1.5189.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/times.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.103.2.1&r2=1.103.2.2



src/winsup/cygwin ChangeLog

2011-03-11 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cv-post-1_7_9
Changes by: cori...@sourceware.org  2011-03-11 11:16:35

Modified files:
winsup/cygwin  : ChangeLog 

Log message:
Add missing ChangeLog entry

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.5189.2.1&r2=1.5189.2.2



src/winsup/cygwin autoload.cc hires.h ntdll.h ...

2011-03-11 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cv-post-1_7_9
Changes by: cori...@sourceware.org  2011-03-11 10:21:55

Modified files:
winsup/cygwin  : autoload.cc hires.h ntdll.h path.cc times.cc 

Log message:
* autoload.cc (winmm): Rremove time functions.  Don't treat
unloadable wave functions as fatal.
* hires.h (hires_ms::timeGetTime_ns): New private method.
(hires_ms::dmsecs): Call timeGetTime_ns here.
* ntdll.h (struct _KSYSTEM_TIME): Define.
(KUSER_SHARED_DATA): Redefine to allow access to InterruptTime.
(SharedUserData): Define here.
(NtQueryTimerResolution): Declare.
(NtSetTimerResolution): Declare.
* path.cc (SharedUserData): Move to ntdll.h.
* times.cc (hires_ms::timeGetTime_ns): New private method.
Use throughout instead of timeGetTime.
(hires_ms::resolution): Try a call to NtQueryTimerResolution
to fetch current period.  Fall back to heuristic if that fails.
(clock_setres): Align period to possible values per a call to
NtQueryTimerResolution.  Explain why.  Replace calls to
timeBeginPeriod and timeEndPeriod with underlying call to
NtSetTimerResolution.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.189&r2=1.189.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/hires.h.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.16&r2=1.16.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ntdll.h.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.106&r2=1.106.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.626&r2=1.626.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/times.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.103&r2=1.103.2.1



src/winsup/cygwin ChangeLog net.cc

2011-03-11 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cv-post-1_7_9
Changes by: cori...@sourceware.org  2011-03-11 09:26:27

Modified files:
winsup/cygwin  : ChangeLog net.cc 

Log message:
* net.cc (SIO_BASE_HANDLE): Define.
(fdsock): If we got an LSP handle, try to try to create a copy of the
base handle instead.  Change comment to explain.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.5189&r2=1.5189.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.282&r2=1.282.2.1