-
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?
-
- On perthread basis, the operating system maintains only CPU register state
- The operating system does not maintain a separate stack for each thread
- On perthread basis, the operating system does not maintain virtual memory state
- On per thread basis, the operating system maintains only scheduling and accounting information.
- On perthread basis, the operating system maintains only CPU register state
Correct Option: A
Threads are called 'light weight process' because they only need storage for stack and registers. They don't need separate space for other things like code segment, global data, etc.