Core Operating System Concepts: Processes, Shells, and Security
Classified in Computers
Written on in
English with a size of 95.39 KB
Operations on a Process
- Process Creation: A user request or an already running process can create new processes. A parent process creates child processes using a system call, which, in turn, can create other processes, forming a tree of processes.
- Process Pre-emption: A process is pre-empted if an I/O event or timeout occurs. The process then moves from the running state to the ready state, and the CPU loads another process from the ready state to the running state, if available.
- Process Blocking: When a process requires an I/O event during its execution, it moves from the running state to the waiting state, and the CPU dispatches another process.
- Process Termination: A process is terminated when it completes its execution. Additionally, events