Question

Which of the following components of a program state are shared across threads in a multithreaded process? Elaborate a bit. • Register values • Heap memory • Global variables • Stack

memory • Text memory