CPU Scheduling in Operating System

CPU Scheduling CPU scheduling is the method used by the operating system to decide which process gets the CPU next when multiple processes are ready to run. Since the CPU can execute only one process per core at a time, scheduling ensures efficient and fair usage of the CPU. Scheduling Criteria Scheduling criteria are the … Read more

Threads in Operating System

Threads A thread is a lightweight process, meaning it’s a smaller unit of execution inside a Process. A process can have multiple threads sharing the same memory and resources. Threads make programs faster and more responsive, especially for tasks that can run in parallel. Main types : Multicore programming Multicore programming is the practice of … Read more

Process Management

Process management Process A process is basically a program that is currently running. Think of it like a running app on your phone or computer — it’s more than just the code; it includes its current state, memory, and resources. Process states A process moves through different states during its life. State     :    Description Process scheduling … Read more

Basics of operating systems

Operating system An operating system is software that manages the computer’s hardware and software resources and provides services for application programs. Kernel vs kernel space Kernel Kernel space OS structure Monolithic structure Layered approach Microkernel structure Modular structure Operations & services Operations Services System calls Definition Operating system Design goals Implementation System boot