matplotlib

This Page

simx.os.process module

class simx.os.process.Process(os, req_resource=None)

Bases: simx.process.Process

Class for modeling a computer process

compute(time)

Mimics computation of a process for the given number of time units by calling sleep(time). Does not give up the resource.

spawn(process_class, *args, **kwargs)

spawns a process and continues executing

waitfor(process)

Suspends process till the given process finishes executing