Prashanth L.A.
2023-08-02
Function | Description |
---|---|
create | An OS must include some method to create new processes |
destroy | Since one can create, we need … |
wait | Sometimes it is useful to wait for a process to stop running |
suspend/resume | stop a process from running for a while and continue the run |
status | how long a process has run for, or what state it is in. |
OS has to do the following as part of process creation:
Running: a process is running on a processor. This means it is executing instructions.
Ready: a process is ready to run but for some reason the OS has chosen not to run it
Blocked: a process has performed some kind of operation (e.g. I/O) that makes it not ready to run until some other event takes place.