frysk.proc
Interface TaskObserver.Cloned

All Superinterfaces:
Observer, TaskObserver
All Known Subinterfaces:
ProcRunUtil.ProcRunObserver
All Known Implementing Classes:
fstep, ProcTaskIDManager, ProcTasksAction, TaskCloneObserver
Enclosing interface:
TaskObserver

public static interface TaskObserver.Cloned
extends TaskObserver

Interface used to notify of Task clone events.


Nested Class Summary
 
Nested classes/interfaces inherited from interface frysk.proc.TaskObserver
TaskObserver.Cloned, TaskObserver.Code, TaskObserver.Execed, TaskObserver.Forked, TaskObserver.Instruction, TaskObserver.Signaled, TaskObserver.Syscalls, TaskObserver.Terminated, TaskObserver.Terminating, TaskObserver.Watch
 
Method Summary
 Action updateClonedOffspring(Task parent, Task offspring)
          Called when the Task (the offspring) that was created by a fork has stopped at its first instruction.
 Action updateClonedParent(Task task, Task clone)
          Called when the Task (the parent) has cloned, creating a clone Task (the offspring).
 
Methods inherited from interface frysk.proc.Observer
addedTo, addFailed, deletedFrom
 

Method Detail

updateClonedParent

Action updateClonedParent(Task task,
                          Task clone)
Called when the Task (the parent) has cloned, creating a clone Task (the offspring). Return Action.BLOCK if this observer wants the parent Task to block.


updateClonedOffspring

Action updateClonedOffspring(Task parent,
                             Task offspring)
Called when the Task (the offspring) that was created by a fork has stopped at its first instruction.