answersLogoWhite

0

What is volatile thread?

User Avatar

Anonymous

14y ago
Updated: 8/16/2019

Threads are not volatile. The volatile is a keyword that is used while having multiple threads in a Java Program.

This keyword is used when multiple threads access a particular variable but still it is not mandatory to synchronize or prevent access to that variable.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is volatile and why are using in java?

volatile variable is mainly used in multithreading environment. so let me explain it from that context.In a multithreading environment,for a variable which is not marked as volatile will be stored in local cache memory for each thread. Meaning each thread will have a local copy of the variable and they dont know about what value this variable is having in another thread. If a variable is marked volatile, then the updations to this variable will happen in the main memory and not in local cache


Is a Ram a volatile?

RAM is a volatile Memory. But ROM is not volatile.


What is a volatile and non volatile solute?

volatile will evaporate


What is volatile and non volatile soluts?

volatile will evaporate


Is a Dram a volatile or non volatile?

DRAM is a volatile memory


Is dram a volatile or non volatile?

DRAM is a volatile memory


IS FLASH NON VOLATILE OR NON VOLATILE?

Non-volatile


Is Rom is volatile or non volatile?

ROM is non-volatile memory.


What is the correct use of volatile in java?

It is used to alert the compiler that the value of a variable may be modified by more than one thread. As a result, the Java Virtual Machine is not allowed to do certain optimizations, which are problematic in such cases.


Is dram non volatile?

DRAM is volatile.


What is the prefix of volatile?

The prefix of volatile is "vol-".


What do you call a substance that evaporates easily?

A substance that evaporates easily is called volatile. Volatile substances have low boiling points and readily transition from a liquid to a gas at normal temperatures.