wiz-icon
MyQuestionIcon
MyQuestionIcon
9
You visited us 9 times! Enjoying our articles? Unlock Full Access!
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
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
On per-thread basis, the OS does not maintain virtual memory state
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
On per-thread basis, the OS maintains only scheduling and accounting information
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
The OS does not maintain a separate stack for each thread
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B On per-thread basis, the OS does not maintain virtual memory state
(a) False: On per thread basics, OS maintains both CPU register state and stack. Hence option (a) is false, because only CPU register state mentioned

(b) False: OS maintains a separate stack for each thread.

(c) True: OS does not maintain virtual memory state.

(d) False: OS does not maintain scheduling and accounting information.

flag
Suggest Corrections
thumbs-up
3
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Process V/s Thread
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon