GeeksforGeeks » Operating Systems
A GATE 2011 question about OS
(8 posts)-
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 followings 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 -
A
-
Ans a).
-
A
-
B ) is the answer
-
can some one explain?
-
If we talk about windows OS , thread has CPU register ,thread stack and thread kernel object for maintaining statistical data.Please correct if i am wrong.
-
answer is c, os does maintain virtual memory state too, b cant be answer for this
Reply
You must log in to post.