From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22136 invoked by alias); 23 Feb 2007 15:08:05 -0000 Received: (qmail 22123 invoked by uid 9628); 23 Feb 2007 15:08:04 -0000 Date: Fri, 23 Feb 2007 15:08:00 -0000 Message-ID: <20070223150804.22121.qmail@sourceware.org> From: mcvet@sourceware.org To: frysk-cvs@sourceware.org Subject: frysk-core/frysk/util ChangeLog FCatch.java Te ... Mailing-List: contact frysk-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-cvs-owner@sourceware.org Reply-To: frysk@sourceware.org X-SW-Source: 2007-q1/txt/msg00470.txt.bz2 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 * 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