Posts

Operations on Processes

Image
  Process operations refer to the actions or activities performed on processes in an operating system. These operations include creating, terminating, suspending, resuming, and communicating between processes. Operations on processes are crucial for managing and controlling the execution of programs in an operating system. Operations on processes are fundamental to the functioning of operating systems, enabling effective flow of program execution and resource allocation. The lifecycle of a process includes several critical operations: creation, scheduling, blocking, preemption, and termination. Each operation plays a vital role In ensuring that processes are efficiently managed, allowing for multitasking and optimal resource utilization. In this article, we will discuss various operations on Process. What is a Process? A process is an activity of executing a program. It is a program under execution. Every process needs certain resources to complete its task. Processes are the progr...

State Process Model in os

Image
  Three State Process Model in Operating System Pre-requisites:  States of a Process in Operating Systems ,  Two-State Process Model in Operating System In this article, we’ll be discussing a three-state process model in an operating system and also discussing the need for this process model, how the process executes, what will be the possible transition that can occur, and last its benefits and some drawbacks. Before, learning about the below three-state process model, it is recommended to read the previous two-state process model. Need for Three-State Process Model The two-state process model was an amazing process model consisting of only two states i.e, running and not-running, that means when the process is running it will execute, otherwise not and the CPU will sit idle. The major drawback of using a two-state process model is that when the dispatcher allows a new process to enter from not-running to the running state, the process might still be waiting for some oth...