answersLogoWhite

0

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

13y ago

What else can I help you with?

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.


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 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."


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

shared memory segment


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.


In a multithreaded environment a is defined as the unit of resource allocation and a unit of protection?

In a multithreaded environment, a mutex (mutual exclusion) is used as the unit of resource allocation and a unit of protection. It ensures that only one thread can access a shared resource at any given time, preventing race conditions and data corruption. This synchronization mechanism helps maintain data integrity and consistency in a concurrent program.


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.


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