Bases: simx.core.core.PyService
Mimics a simple computer operating system. Lives on a Node object.
If process already has an assigned resource, simply switch to it. Otherwise, assigns process to a processor resource, unless the process might have requested to be explicitly assigned to a process in which case assign to that resource (since program knows best); else assign to a global queue
creates a process of process_class with given arguments
Creates a process class with given arguments and requests a specific resource
Call’s process’s end() method and frees up resource allocated to process
Frees resource that was allocated to the processor; schedules new process from resource queue or main process queue
Schedules a process by calling proc_schedule function of process manager
p1 waits for p2 to finish