From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23388 invoked by alias); 18 Jun 2007 19:06:56 -0000 Received: (qmail 23380 invoked by uid 22791); 18 Jun 2007 19:06:55 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 18 Jun 2007 19:06:52 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l5IJ6old025654 for ; Mon, 18 Jun 2007 15:06:50 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5IJ6nw9021268 for ; Mon, 18 Jun 2007 15:06:49 -0400 Received: from to-dhcp0.toronto.redhat.com (to-dhcp0.toronto.redhat.com [172.16.14.100]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l5IJ6mSY003672; Mon, 18 Jun 2007 15:06:49 -0400 Message-ID: <4676D7C8.8030202@redhat.com> Date: Mon, 18 Jun 2007 20:47:00 -0000 From: Mike Cvet User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: Adam Jocksch CC: frysk Subject: Re: New observer interface for SteppingEngine References: <4672EC0B.9050203@redhat.com> <46768C6B.9080609@redhat.com> <4676A722.8050503@redhat.com> <4676CBA2.5090506@redhat.com> <4676D382.3060200@redhat.com> In-Reply-To: <4676D382.3060200@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00323.txt.bz2 Adam Jocksch wrote: > Mike Cvet wrote: >> >> What if, instead of re-writing everything, the SteppingEngine passes >> a reference to a frysk.rt.TaskStepEngine through as an argument - >> which contains the Task in question, its current State, and other >> useful things like its Dwfl Object? >> >> - Mike > As an interim solution until thread-awareness becomes an issue that > sounds like an okay solution. I'll also suggest some more explicit > documentation for SteppingEngine.addObserver to clarify the > assumptions being made to other people who may have to become > acquainted with the SteppingEngine :) Fair enough =). I think that this might solve our multithreaded issues as well though - since any Task which has a state change (blocked, or unblocked) will have its TaskStepEngine passed through, we'll know what transition it has made. - Mike