This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

winsup/cygwin ChangeLog DevNotes dcrt0.cc exce ...


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sourceware.org	2012-12-28 18:06:17

Modified files:
	cygwin         : ChangeLog DevNotes dcrt0.cc exceptions.cc 
	                 globals.cc sigproc.cc sigproc.h sync.h 

Log message:
	* DevNotes: Add entry cgf-000019.
	* dcrt0.cc (do_exit): Just set exit_state to ES_EVENTS_TERMINATE and nuke call
	to events_terminate which just set a superfluous flag.
	* sigproc.cc (signal_exit_code): New variable.
	(setup_signal_exit): Define new function.
	(_cygtls::signal_exit): Remove accommodations for closing the signal pipe
	handle.
	(exit_thread): Just sleep if we're exiting.
	(wait_sig): If signal_exit_code is set, just handle bookkeeping signals and
	exit ReadFile loop if there is nothing more to process.  Call signal_exit at
	end if signal_exit_code is non-zero.
	* sigproc.h (setup_signal_exit): Declare new function.
	* exceptions.cc (sigpacket::process): Use setup_signal_exit to control exiting
	due to a signal.
	(exception::handle): Ditto.  Query exit_state rather than defunct exit_already
	to determine if we are exiting.
	* globals.cc (ES_SIGNAL_EXIT): New enum.
	* sync.h (lock_process::release): New function for explicitly unlocking muto.
	(lock_process::~lock_process): Use release method.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.6019&r2=1.6020
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/DevNotes.diff?cvsroot=uberbaum&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dcrt0.cc.diff?cvsroot=uberbaum&r1=1.438&r2=1.439
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&r1=1.401&r2=1.402
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/globals.cc.diff?cvsroot=uberbaum&r1=1.41&r2=1.42
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaum&r1=1.397&r2=1.398
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.h.diff?cvsroot=uberbaum&r1=1.119&r2=1.120
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sync.h.diff?cvsroot=uberbaum&r1=1.46&r2=1.47


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]