public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* [Fwd: frysk-core/frysk/proc ChangeLog TestLib.java T ...]
@ 2006-11-07 14:56 Andrew Cagney
  0 siblings, 0 replies; only message in thread
From: Andrew Cagney @ 2006-11-07 14:56 UTC (permalink / raw)
  To: frysk

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

This one needs a little explanation.

On .18 kernels, frysk-core's TestRunner's tear down code was hanging 
because, for a multi-threaded program, frysk was detaching from only the 
main thread leading to the waitpid call blocked on the non-main threads.

This patch makes the tear-down code scan each proc for tasks adding any 
to the list of things needing killing and detaching.

Andrew


[-- Attachment #2: frysk-core/frysk/proc ChangeLog TestLib.java T ... --]
[-- Type: message/rfc822, Size: 2688 bytes --]

From: cagney@sourceware.org
To: frysk-cvs@sourceware.org
Subject: frysk-core/frysk/proc ChangeLog TestLib.java T ...
Date: 7 Nov 2006 04:35:31 -0000
Message-ID: <20061107043531.14157.qmail@sourceware.org>

CVSROOT:	/cvs/frysk
Module name:	frysk-core
Changes by:	cagney@sourceware.org	2006-11-07 04:35:31

Modified files:
	frysk/proc     : ChangeLog TestLib.java TestProcStopped.java 

Log message:
	Index: frysk-core/frysk/proc/ChangeLog
	2006-11-06  Andrew Cagney  <cagney@redhat.com>
	
	* TestLib.java (tearDown): For all children being killed, add
	their tasks to the list.
	(sendStopXXX): Rename assertSendStop.
	(killDuringTearDown): Fix log formatting.
	(setUp): Don't register a killDuringTearDown observer against
	thread addeded.
	* TestProcStopped.java (stopped): Use Child.sendStopXXX.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/proc/ChangeLog.diff?cvsroot=frysk&r1=1.496&r2=1.497
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/proc/TestLib.java.diff?cvsroot=frysk&r1=1.114&r2=1.115
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/proc/TestProcStopped.java.diff?cvsroot=frysk&r1=1.4&r2=1.5


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-07 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-07 14:56 [Fwd: frysk-core/frysk/proc ChangeLog TestLib.java T ...] Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).