src/winsup/cygwin ChangeLog thread.cc

corinna@cygwin.com corinna@cygwin.com
Wed May 23 16:26:00 GMT 2012


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2012-05-23 16:26:34

Modified files:
	winsup/cygwin  : ChangeLog thread.cc 

Log message:
	* thread.cc: Add a temporary workaround to help Cygwin along while
	newlib doesn't install cleanup handlers.  Explain the problem.
	(class __cygwin_lock_handler): New class.
	(__cygwin_lock_cleanup): New function.
	(__cygwin_lock_lock): Push __cygwin_lock_cleanup thread cleanup
	handler.
	(__cygwin_lock_trylock): Ditto.
	(__cygwin_lock_unlock): Pop thread cleanup handler.
	(pthread::pop_cleanup_handler): Temporarily allow cleanup function to
	destroy cleanup handler so we can pop in another function than we
	pushed in.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5842&r2=1.5843
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.262&r2=1.263



More information about the Cygwin-cvs mailing list