frysk.proc
Interface TaskObserver.Forked
- All Superinterfaces:
- Observer, TaskObserver
- All Known Subinterfaces:
- ProcRunUtil.ProcRunObserver
- All Known Implementing Classes:
- fstep, Ftrace.MyForkedObserver, ProcRunUtil.ForkedObserver, ProcTaskIDManager, ProgramObserver, TaskForkedObserver, TestTaskForkedObserver.ForkObserver, TestTaskObserverBlocked.ForkObserver
- 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.
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). |
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.