; PCB List Script file ; Let's test the process termination logic. ; start P01 0 start P02 0 start P03 0 ; ; Put a job into the run state and start main(): switch 0 call main 0 3 10 20 30 ps all ; ; Terminate P01::main() and verify that P01 has been removed: return ps all ; ; Put another job in the run state and fire up some function calls: switch 0 call main 0 0 call F 1 5 0 call G 0 1 10 call H 0 0 ps 1 ; ; Then return from all of them and verify that P02 is gone: return return return return ps all ; ; Finally, finish off P03: switch 0 call main 0 0 return ps all ; ; Shut down: exit