Category: Operating System
-

Threads in Operating System
What is Thread? Thread is a flow of execution through the process code. Thread lives within a process, and one process can contain multiple threads. Thread has its own Program counter – Keeps track of which instruction to execute next System register – Current working variables Stack – Stores execution…
-
Processes in Operating System
What is Process? Process is an instance of a program that is being executed. When we write up a computer program in a text file and when it gets loaded to memory, it becomes a process. Resources like CPU time or memory gets allocated to each process, which makes it…
