public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* frysk-core/frysk/util ChangeLog FCatch.java Te ...
@ 2007-02-23 15:08 mcvet
0 siblings, 0 replies; only message in thread
From: mcvet @ 2007-02-23 15:08 UTC (permalink / raw)
To: frysk-cvs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-23 15:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-23 15:08 frysk-core/frysk/util ChangeLog FCatch.java Te mcvet
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).