Operating System Programming and Technical

Q. What is context switching?

A. Transferring the control from one process to other process requires saving the state of the old process and loading the saved state for new process. This task is known as context switching.

Read Solution (Total 0)

Operating System Other Question

Q. What is semaphore?

A. Semaphore is a variable, whose status reports common resource, Semaphore is of two types one is Binary semaphore and other is Counting semaphore
Q. What is a thread?

A. A thread is a program line under execution. Thread sometimes called a light-weight process, is a basic unit of CPU utilization; it comprises a thread id, a program counter, a register set, and a stack