Bug 1526

Summary: frysk.proc.TaskObserver.Attached doesn't work
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal CC: pmuldoon, swagiaal
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on: 1376, 1426    
Bug Blocks: 1553, 1364    

Description Andrew Cagney 2005-10-22 18:48:55 UTC
Currently not defined, called when a task is first started, needed because a
task needs to transition through a number of states the tasks contents can be
accessed.
Comment 1 Andrew Cagney 2005-10-22 19:45:15 UTC
The name .Started has been changed to .Attached; the observer is fired both when
a new task is initialized, and when an existing task is attatched.  In both
cases the task is ready and able to be queried (fetch memory et.al.)

A better name is needed.

2005-10-22  Andrew Cagney  <cagney@redhat.com>

        * Proc.java: Delete .taskDiscovered.
        * TaskObservable.java: Delete, merged into Proc.java.
        * TaskObserver.java: Add .Attached.
        * TaskState.java: Replace Proc .taskDiscovered, with Task
        .notifyAttached.
        * Task.java: Update; add .notifyAttached.

Comment 2 Andrew Cagney 2005-10-26 22:02:16 UTC
Index: frysk-core/frysk/proc/ChangeLog
2005-10-26  Andrew Cagney  <cagney@redhat.com>

        * TestTaskObserver.java: New.
        * TaskState.java: Handle .processRequestAddObserver in "running"
        state.

but it still needs a better name :-)