Which of the following components of program state are share
Which of the following components of program state are shared across threads in a multithreaded process? (4 pts)
A) Register values
B) Heap memory
C) Global variables
D) Stack memory
Solution
Ans: Options: B) Heap memory and C) Global variables are shared across threads in a multithreaded process because they have private register values and stack segments
