GATE | GATE-CS-2017 (Set 2) | Question 34

Which of the following is/are shared by all the threads in a process?

I. Program Counter

II. Stack

III. Address space

IV. Registers

(A) I and II only
(B) III only
(C) IV only
(D) III and IV only


Answer: (B)

Explanation: Every thread have its own stack , register, and PC, so only address space that is shared by all thread for a single process.
Therefore,  option B is correct thread

Quiz of this Question



My Personal Notes arrow_drop_up