This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog thread.cc
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 13 Apr 2004 02:59:20 -0000
- Subject: src/winsup/cygwin ChangeLog thread.cc
CVSROOT: /cvs/src
Module name: src
Changes by: cgf@sourceware.org 2004-04-13 02:59:19
Modified files:
winsup/cygwin : ChangeLog thread.cc
Log message:
* thread.cc (pthread::create): Use thread mutex to control synchronization
rather than creating a suspended thread. Wait for "cancellation event" to
indicate that started thread has been properly initialized.
(pthread::thread_init_wrapper): Use set_tls_self_pointer() to set tid and
cygtls. Signal with cancel_event when done.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2421&r2=1.2422
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.167&r2=1.168