src/winsup/cygwin ChangeLog cygwin.din pthread ...

rbcollins@cygwin.com rbcollins@cygwin.com
Sun Jun 9 18:10:00 GMT 2002


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

Modified files:
	winsup/cygwin  : ChangeLog cygwin.din pthread.cc thread.cc 
	                 thread.h 
	winsup/cygwin/include: pthread.h 

Log message:
	2002-06-10  Robert Collins  <rbtcollins@hotmail.com>
	
	* cygwin.din: Add _pthread_cleanup_push and _pthread_cleanup_pop.
	* pthread.cc: Change __pthread_self to pthread::self() thruoghout.
	(_pthread_cleanup_push): New function.
	(_pthread_cleanup_pop): Ditto.
	* thread.cc: Thanks to Thomas Pfaff for the pthread cleanup_push,_pop
	patch, this work is derived from that.
	Change __pthread_self to pthread::self() thruoghout.
	(__pthread_self): Rename to pthread::self.
	(pthread::self): New method.
	(pthread::pthread): Initialize new member.
	(pthread::push_cleanup_handler): New method.
	(pthread::pop_cleanup_handler): New method.
	(pthread::pop_all_cleanup_handlers): New method.
	(__pthread_exit): Pop all cleanup handlers.
	* thread.h (pthread::push_cleanup_handler): Declare.
	(pthread::pop_cleanup_handler): Ditto.
	(pthread::pop_all_cleanup_handlers): Ditto.
	(pthread::self): New static method.
	(__pthread_exit): Give C++ linkage.
	(__pthread_join): Ditto.
	(__pthread_detach): Ditto.
	(__pthread_self): Remove.
	
	2002-04-24  Thomas Pfaff  <tpfaff@gmx.net>
	
	* include/pthread.h (__pthread_cleanup_handler): New structure
	(pthread_cleanup_push): Rewritten .
	(pthread_cleanup_pop): Ditto.
	(_pthread_cleanup_push): New prototype.
	(_pthread_cleanup_pop) Ditto.
	
	2002-04-24  Thomas Pfaff  <tpfaff@gmx.net>
	
	* thread.cc (thread_init_wrapper): Check if thread is already joined.
	(__pthread_join): Set joiner first.
	(__pthread_detach): Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1278&r2=1.1279
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin.din.diff?cvsroot=src&r1=1.50&r2=1.51
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pthread.cc.diff?cvsroot=src&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.70&r2=1.71
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&r1=1.34&r2=1.35
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/pthread.h.diff?cvsroot=src&r1=1.10&r2=1.11



More information about the Cygwin-cvs mailing list