This is the mail archive of the
frysk-cvs@sources.redhat.com
mailing list for the frysk project.
frysk-core/frysk/util ChangeLog FCatch.java Te ...
- From: mcvet at sourceware dot org
- To: frysk-cvs at sourceware dot org
- Date: 23 Feb 2007 15:08:04 -0000
- Subject: frysk-core/frysk/util ChangeLog FCatch.java Te ...
- Reply-to: frysk at sourceware dot org
CVSROOT: /cvs/frysk
Module name: frysk-core
Changes by: mcvet@sourceware.org 2007-02-23 15:08:04
Modified files:
frysk/util : ChangeLog FCatch.java TestFCatch.java
Log message:
2007-02-23 Mike Cvet <mcvet@redhat.com>
* FCatch.java (Blocker): Added. TaskObserver.Instruction blocking
observer class.
(signalObserver): Added. Add the same SignalObserver to each of the
Tasks.
(generateStackTrace): Decrement the numTasks counter.
(removeObservers): Removed.
(handleTaskBlock): Added. Switches on the signal value to appropriate
update the stack trace StringBuffer. If all the tasks of the process
have passed through, prints the StringBuffer and unblocks all the tasks.
Fixes #3932.
(CatchObserver.updateAttached): Initialize the global SignalObserver if
it is null, and add to each task that passes through.
(CatchObserver.updateTerminating): Removed eventloop stopping code.
(CatchObserver.updateTerminated): Requests a stop from the eventloop if
all the Tasks have completed stack tracing and are unblocked and
terminated. Fixes #3932.
(SignalObserver.updateSignaled): Assign some global variables from the
signaled Task. Moved switch statement and stack trace calls to
handleTaskBlock(). Block each of the threads of the process with an
InstructionObserver. Fixes #4092.
* TestFCatch.java: Added some more fields reflecting the above updates.
(FCatchTester.Blocker): Added. Blocking TaskObserver.Instruction observer.
(handleTaskBlock): Added.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/util/ChangeLog.diff?cvsroot=frysk&r1=1.99&r2=1.100
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/util/FCatch.java.diff?cvsroot=frysk&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/util/TestFCatch.java.diff?cvsroot=frysk&r1=1.4&r2=1.5