Wednesday 3 June 2015

Q65,paper 3,J13. A thread is usually defined as a light weight process because an Operating System (OS) maintains smaller data structure for a thread than for a process. In relation to this, which of the following statement is correct ?



(A) OS maintains only scheduling and accounting information for
each thread.
(B) OS maintains only CPUregisters for each thread.
(C) OS does not maintain a separate stack for each thread.
(D) OS does not maintain virtual memory state for each thread.


Answer B.
Explanation.
A thread is the light weight process that can be scheduled for execution. All threads of a process share its virtual address space and system resources. In addition, each thread maintains exception handlers, a scheduling priority, thread local storage, a unique thread identifier, and a set of structures the system will use to save the thread context until it is scheduled. The thread context includes the thread's set of machine registers, the kernel stack, a thread environment block, and a user stack in the address space of the thread's process.

1 comment:

  1. Getting free ugc net paper 1 books is easy now a days.
    The NTA will release the UGC NET notification on its official website. The UGC NET exam notification is available in both English and Hindi. Aspirants who are aiming for an exam should check all the details in UGC NET information bulletin to get familiar with exam pattern, exam dates, syllabus, the application process, etc. It is advised to download UGC NET notification pdf and keep the hard copy for future reference. Candidates can download UGC NET notification 2020 (June) here.

    Check out the Details: UGC NET Exams 2020 & 2021

    ReplyDelete

Note: only a member of this blog may post a comment.