frysk.proc
Interface TaskObserver.Forked

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

public static interface TaskObserver.Forked
extends TaskObserver

Interface used to notify of Task forked (creating a new child process that contains one Task) 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 updateForkedOffspring(Task parent, Task offspring)
          Called when the Task (the offspring) that was created by a fork has stopped at its first instruction.
 Action updateForkedParent(Task parent, Task offspring)
          Called when the Task (the parent) has forked, creating a child Proc containing a single Task (the offspring).
 
Methods inherited from interface frysk.proc.Observer
addedTo, addFailed, deletedFrom
 

Method Detail

updateForkedParent

Action updateForkedParent(Task parent,
                          Task offspring)
Called when the Task (the parent) has forked, creating a child Proc containing a single Task (the offspring). Return Action.BLOCK if the observer wants the parent task to block.


updateForkedOffspring

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