Home » Operating Systems » Operating systems miscellaneous » Question

Operating systems miscellaneous

  1. 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?
    1. On perthread basis, the operating system maintains only CPU register state
    2. The operating system does not maintain a separate stack for each thread
    3. On perthread basis, the operating system does not maintain virtual memory state
    4. On per thread basis, the operating system maintains only scheduling and accounting information.
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.



Your comments will be displayed only after manual approval.