GATE - 2011 | OS | A thread is usually defined as a "light weight process" because an operating

GATE - 2011 | OS | A thread is usually defined as a "light weight process" because an operating
Posted on 12-02-2022

GATE - 2011 [Operating System]

Question:

A thread is usually defined as a "light weight process" because an operating system (OS) maintains smaller data structures for a thread than for a process. In relation to this, which of the following is TRUE?

A

On per-thread basis, the OS maintains only CPU register state

B

The OS does not maintain a separate stack for each thread

C

On per-thread basis, the OS does not maintain virtual memory state

D

On per thread basis, the OS maintains only scheduling and accounting information

  

Solution:

Option (C) is Correct.

A) False, because on a per-thread basis OS maintains a register, stack, and program counter.
B) False, OS does maintain a separate stack for each thread.
C) True
D) False

Thank You

Download App for Free PDF Download

GovtVacancy.Net Android App: Download

government vacancy govt job sarkari naukri android application google play store https://play.google.com/store/apps/details?id=xyz.appmaker.juptmh