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]

src/winsup/cygwin ChangeLog cygthread.cc cygth ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	cgf@sourceware.org	2004-12-23 14:57:08

Modified files:
	winsup/cygwin  : ChangeLog cygthread.cc cygthread.h fork.cc 
	                 pinfo.cc pinfo.h sigproc.cc sigproc.h spawn.cc 

Log message:
	* cygthread.cc (cygthread::stub): Detect if thread function wants to release
	itself here, to avoid a race.
	(cygthread::release): Clear more stuff.  Add a diagnostic for an internal
	error.
	* cygthread.h (auto_release): New function.
	* pinfo.h (pinfo::remember): Add an argument to denote whether child is
	detached.
	* fork.cc (fork_parent): Reflect change in arguments to pinfo::remember.
	* pinfo.cc (_pinfo::exit): Signal exit more forcibly.
	(proc_waiter): Use cygthread::auto_release to signify that cygthread::stub
	should release the thread.  This should avoid a race.
	(pinfo::alert_parent): Don't signify an error when wr_proc_pipe == NULL.
	* sigproc.cc (proc_subproc): Add support for PROC_DETACHED_CHILD.
	* sigproc.h: Ditto.
	* spawn.cc (spawn_guts): Specify whether child is detached or not when calling
	pinfo::remember.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2633&r2=1.2634
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.cc.diff?cvsroot=src&r1=1.49&r2=1.50
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.h.diff?cvsroot=src&r1=1.25&r2=1.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&r1=1.141&r2=1.142
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&r1=1.130&r2=1.131
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.h.diff?cvsroot=src&r1=1.70&r2=1.71
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=src&r1=1.207&r2=1.208
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.h.diff?cvsroot=src&r1=1.72&r2=1.73
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.158&r2=1.159


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