This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog thread.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 8 Feb 2012 19:58:38 -0000
- Subject: src/winsup/cygwin ChangeLog thread.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2012-02-08 19:58:38
Modified files:
winsup/cygwin : ChangeLog thread.cc
Log message:
* thread.cc (__pthread_cond_wait_init): New static function replacing
__pthread_cond_dowait. Only check and potentially initialize cond and
mutex, drop call to (*cond)->wait.
(pthread_cond_timedwait): Replace call to __pthread_cond_dowait with
separate calls to __pthread_cond_wait_init and (*cond)->wait to be
able to initialize cond before accessing its clock_id member.
(pthread_cond_wait): Ditto (more or less).
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5688&r2=1.5689
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.253&r2=1.254