Open In App

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

Like Article
Like
Save
Share
Report

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


Last Updated : 15 Feb, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads