answersLogoWhite

0


Best Answer

There r some resources shared by different threads o the same process while some r not. The threads shares the address space,file,global variables. But each threads has its own stack , copy of registers(including PC).

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

8y ago

All resources in a process are (or can be) shared by all threads of execution within that process. However, each thread has its own stack and resources shared across stacks are best avoided; when a thread terminates, its stack is no longer valid.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

All threads share the same virtual address space, but each thread has its own stack.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What of these components are shared by a multithreaded process?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What components of program state are shared across threads in a multithreaded process?

Obviously Heap Memory


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

Yes but there is not enough time or enough space here for a full justification of the answer


What major components of health communication?

The major components of the health communication process are interdependence, shared meaning, personal goals, process and sensitivity. All five are a must in order to achieve the most effective health communication.


When a process creates a new process using what state is shared between the parent process and the child process?

shared memory segment


What is the difference between single threaded and multi threaded process?

A write-up of the answer to this question can be found here:http://msdn.microsoft.com/en-us/library/ms693344(VS.85).aspx"There are two types of apartments: single-threaded apartments, and multithreaded apartments. * Single-threaded Apartments-Single-threaded apartments consist of exactly one thread, so all COM objects that live in a single-threaded apartment can receive method calls only from the one thread that belongs to that apartment. All method calls to a COM object in a single-threaded apartment are synchronized with the windows message queue for the single-threaded apartment's thread. A process with a single thread of execution is simply a special case of this model.* Multithreaded Apartments-Multithreaded apartments consist of one or more threads, so all COM objects that live in an multithreaded apartment can receive method calls directly from any of the threads that belong to the multithreaded apartment. Threads in a multithreaded apartment use a model called free-threading. Calls to COM objects in a multithreaded apartment are synchronized by the objects themselves."


What mean by multithreaded program?

A multithreaded program is one that has multiple threads in execution. They may execute parallel to one another or totally without relation to one another. In Java you can create multithreaded programs using Java threads.


What is true about the components of the dialect?

A true statement about the components of the dialectic is that they are investigative. They look at the truth of the opinions that are shared.


What is true about a components of the dialectic?

A true statement about the components of the dialectic is that they are investigative. They look at the truth of the opinions that are shared.


What are some biotic and abiotic components shared by all biomes?

Biotic components shared by biomes are plants, herbivores, insects, scavengers, omnivores and carnivores. Abiotic components shared by biomes are light, weather, temperature, soil and precipitation.


Which components of program state are shared across threads in a multi-threaded process?

a. Register values b. Heap memory c. Global variables d. Stack memory


The components that process data in a computer are where?

The components that process data are located in the system unit


Which is not shared by the threads of the same process?

stack