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.