Open In App

GATE | GATE CS Mock 2018 | Set 2 | Question 34

Like Article
Like
Save
Share
Report

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

I. Program Counter

II. Stack

III. Registers

IV. Address space

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


Answer: (C)

Explanation: Every thread have its own stack, register, and PC, so only address space that is shared by all thread for a single process.
Option (C) is correct.

Quiz of this Question


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