volatile variable


Also found in: Wikipedia.

volatile variable

(programming)
A variable in a computer program which can be modified by processes other than the program. For example, a variable that stores the value of a timer chip (either because it is located at the address of the hardware device or because it is updated on interrupts) needs to be volatile to be useful.

A static variable, on the other hand, maintains its value until the program changes it or it is no longer needed. In addition, volatile variables can be held in the stack whereas static variables are usually stored in a program's data segment.
Mentioned in ?
References in periodicals archive ?
His letter to the Chancellor said: "Fixing deposit guarantees to a volatile variable like the exchange rate puts savers at the mercy of the fluctuating euro.
Product liabilities are predominantly composed of term and universal life insurance products which have predictable cash flows and are free of more volatile variable annuity products.
It makes no sense to fix deposit guarantees, which need to be stable to win public confidence and which should be providing certainty and predictability for ordinary savers, to a volatile variable like the exchange rate.
sense to fix tees, which able to win dence and be providing d predictability for s, to a volatile variable nge rate.
While PNW and APS's credit metrics are consistent with slightly higher rated peers, the ratings also reflect the potential negative financial impact and liquidity challenges resulting from high and volatile variable costs due to the utility's growing reliance on natural gas and purchased power, and provisions that limit recovery of power supply costs under APS's commission-approved Power Supply Adjustor (PSA).