answersLogoWhite

0


Best Answer

Then all the threads and all the instances of the class that contain the static variable would see the new value. Please make sure that you address any concurrent access (synchronization) issue that might appear.

User Avatar

Wiki User

18y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: If in a multithreaded process a static variable is initialized at 10 and first user increments is value?
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


What is the process of using the arrow keys in small precise increments?

nudge


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 is a Bernoulli variable?

A Bernoulli variable is a variable which is part of a Bernoulli process.


What is the process of using arrow keys to move an object in small precise increments?

To Nudge


Why would you want to export a variable in Unix?

You export a variable in one process so that a child process can have the value as well. If you don't export the variable then the child process cannot see it.


A variable that is changed during the process of experimentation is a?

The variable that is purposely changed is the independent variable. The variable that is affected by this change is the dependent variable.


When the process of arriving at a measure of a concept or variable is referred to as replication?

The process of arriving at a means of measuring a concept or a variable is ...


What is the behavior or mental process where the impact of the independent variable is measured?

That process is known as measuring the dependent variable. The dependent variable is the outcome or response that is measured to assess the effect of changing the independent variable in an experiment or study.


What does the increments mean?

For something to happen in increments or for it to happen incrementally means that it happens in small and discrete steps, and the implication is that the steps are in order. It can refer to a process that involves an increasing or decreasing amount of something.


What are the process of titration?

To sample increasing medication or reducing medication by small increments to find the most beneficial dosage


How do I plug in a variable?

You cannot plug in a variable, what you do is plug in the value for a variable. If you know the value of the variable in an equation (or formula), the process of replacing that variable whenever it appears in the equation by its value is called plugging in the value for the variable.