|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Executive
implementation and documentation of the
Flow
-
Executive
interaction.
See:
Description
Class Summary | |
Display | Convenience class that displays a table of
LogicalProcesses . |
ReferenceExecutive | Reference implementation of the Executive interface. |
ReferencePopulation | Reference implementation of the Population interface. |
Supporting infrastructure - Reference
Executive
implementation and documentation of the
Flow
-
Executive
interaction.
ready
or
activated
.
At this time there is only one LP and it is
dormant
.
dormant
LP.
elaborate
to create a new thread for the
dormant
LP.
runLogicalProcess
to begin the execution of the LP.
elaborated
to confirm the establishment of the new thread.
Elaborated
suspends the new LP thread and resumes the executive thread.
Elaborate
returns and the executive changes the LP state to
ready
.
ready
or
activated
.
At this time there is only one LP and it is
ready
.
ready
LP.
active
and calls
yieldToLP
to transfer control to the newly activated LP.
yieldToLP
suspends the executive thread and activates the LP thread.
elaborated
returns and the LP begins the
agenda
execution.
agenda
invokes either
waitForTime
,
waitForAction
, or
waitForActionOrTrigger
.
Each of these method invocations results in a call to
yieldToExecutive
.
The LP state is set to either
waitingForTime
or
waitingForEvent
.
yieldToExecutive
suspends the LP thread and activates the executive thread.
yieldToLP
returns.
ready
or
activated
.
At this time there is only one LP and it is in a
waitingForTime
or
waitingForEvent
state.
active
and calls
yieldToLP
to activate the LP.
yieldToLP
suspends the executive and activates the LP.
yieldToExecutive
returns.
agenda
invokes either
waitForTime
,
waitForAction
, or
waitForActionOrTrigger
.
Each of these method invocations results in a call to
yieldToExecutive
.
The LP state is set to either
waitingForTime
or
waitingForEvent
.
yieldToExecutive
suspends the LP thread and activates the executive thread.
yieldToLP
returns.
Copyright (c) 2003 The MITRE Corporation
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |