Tag Archives: Process

Introduction of System Call

To understand system calls, first one needs to understand the difference between kernel mode and user mode of a CPU. Every modern operating system supports these two modes. In computing, a system call is the programmatic way in which a computer program requests a service from the kernel of the operating system it is executed on. A system… Read More »

Deadlock Detection And Recovery

Deadlock Detection and Deadlock recovery are important tasks of OS. If deadlocks are not avoided, then another approach is to detect when they have occurred and recover somehow. These are explained as following below. 1. Deadlock Detection : If resources have single instance : If cycle exist in the Resource Allocation Graph, then there exist deadlock in the… Read More »