src/winsup/cygwin ChangeLog thread.cc thread.h

rbcollins@cygwin.com rbcollins@cygwin.com
Fri Sep 20 18:59:00 GMT 2002


CVSROOT:	/cvs/src
Module name:	src
Changes by:	rbcollins@sources.redhat.com	2002-09-20 18:59:46

Modified files:
	winsup/cygwin  : ChangeLog thread.cc thread.h 

Log message:
	2002-09-21  Robert Collins <rbtcollins@hotmail.com>
	
	* thread.cc: Partial refactoring of pthread_key destructor
	handling. Loosely based on Thomas Pfaff's work.
	(pthread_key_destructor_list::Insert): Remove.
	(pthread_key_destructor_list::Pop): Remove.
	(pthread_key_destructor_list::IterateNull): Call the key's
	run_destructor method.
	(pthread_key::pthread_key): Initialize new member.
	(pthread_key::get): Mark as const for correctness.
	(pthread_key::run_destructor): Implement.
	* thread.h (pthread_key::get): Mark as const for correctness.
	(pthread_key::run_destructor): Declare.
	(List): New template class that implements a generic list.
	(pthread_key_destructor_list): Inherit from List, and remove
	now duplicate functions.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1487&r2=1.1488
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.83&r2=1.84
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&r1=1.45&r2=1.46



More information about the Cygwin-cvs mailing list