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

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


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.


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.


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


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.


The components that process data in a computer are where?

The components that process data are located in the system unit


In the process of covalent bonding?

electrons are shared between one or more atoms

Trending Questions
All living things consist of one or more? What is the latitude and longitude of Olduvai Gorge? When light given off by a simple burning substance is viewed through a spectroscope what color would it appear? When the dominant allele does not completely mask the effect of the recessive allele in the heterozygote it is called polygenic dominance incomplete dominance dominance corecessive codominance? What order do seismic waves come in? What concept held the feudal relationship together? What is the shape of the P atom in H2PO4? What is the average annual snowfall for Helena MT? In the composition model the two step process of composition and selection can be graphically visualized as which graph? What law in chemistry states that all matter is in motion a mole Boyle law Kinetic molecular theory Conservation of mass Charles law or Avogadro s hypothesis? What is the thickness of the upper mental and the crust? Tiny contractile fibers that are within the cell? How to hook up natural gas logs in fireplace? What is the chalk marks meanings that immigrants got? If the temperature of a balloon was to decrease what else would change? Is a metal solid liquid or gas at room temperature? Is daylight saving time done worldwide? What features do gullies in mars and on mount sthelens have in common? 2.8 Eurosport wagon sometimes dies when stopping starts in neutral and park dies when put in gear seems like trns NT disengaged car jerky then dies? What is the mass of 2500N?