src/winsup/cygwin ChangeLog cygtls.h dcrt0.cc ...

cgf@cygwin.com cgf@cygwin.com
Sat Dec 6 18:08:00 GMT 2003


CVSROOT:	/cvs/src
Module name:	src
Changes by:	cgf@sourceware.org	2003-12-06 18:08:38

Modified files:
	winsup/cygwin  : ChangeLog cygtls.h dcrt0.cc exceptions.cc 
	                 gentls_offsets init.cc thread.cc 

Log message:
	* cygtls.h: Add more "don't parse this" guards.
	(_threadinfo::init_thread): Rename from 'init'.
	(_threadinfo::init): Declare new function.
	(_threadinfo::protect_linked_list): Declare new critical section.
	* dcrt0.cc (dll_crt0_1): Call init_thread to initialize thread stuff.
	(_dll_crt0): Call _threadinfo::init prior to invoking dll_crt0_1.
	* exceptions.cc (_threadinfo::init_thread): Rename from 'init'.
	(_threadinfo::init): Define new function.  Protect linked list manipulation
	with new critical section.
	(_threadinfo::call): Reflect function name change.
	(_threadinfo::remove): Protect linked list manipulation with new critical
	section
	* gentls_offsets: Rework to allow multi-line "don't parse this" protection.
	* init.cc (dll_entry): Don't remove threads info stuff here since the remove
	function uses a critical section which can't be used during thread creation or
	destruction.
	* thread.cc (pthread::exit): Call _threadinfo remove function here.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2216&r2=1.2217
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygtls.h.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.193&r2=1.194
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&r1=1.180&r2=1.181
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/gentls_offsets.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/init.cc.diff?cvsroot=src&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.150&r2=1.151



More information about the Cygwin-cvs mailing list