Process Simulator
•Receiver Process Simulation
•Simulator functions defined for:
signal input and output, assignment, updating state, decision, process creation, procedure call, timer operations, stop, and goto
•Correctness: simulating each action preserves
wf-instance property
nil
(ackid . 0) (frameid . 0) (sender . 2)
waiting
Transition completed
nil
(ackid . -1) (frameid . 0) (sender . 2)
waiting
Signal consumed
Frame(0)
(ackid . -1) (frameid . nil) (sender . nil)
waiting
Signal arrives in queue
nil
(ackid . -1) (frameid . nil) (sender . nil)
waiting
After initialization
nil
(ackid . nil) (frameid . nil) (sender . nil)
start
After instantiation
queue
Memory
state
action