In computer programming, particularly in the C, C++, and C# programming languages, a variable or object declared with the volatile keyword may be modified externally from the declaring object. Variables declared to be volatile will not be optimized by the compiler because the compiler must assume that their values can change at any time. Note that operations on a volatile variable in C and C++ are not guaranteed to be atomic.
| Property | Value |
| dbpprop:abstract
|
- In computer programming, particularly in the C, C++, and C# programming languages, a variable or object declared with the volatile keyword may be modified externally from the declaring object. Variables declared to be volatile will not be optimized by the compiler because the compiler must assume that their values can change at any time. Note that operations on a volatile variable in C and C++ are not guaranteed to be atomic.
- Volatile je rezervované slovo programovacího jazyka C. Pokud je nějaká proměnná označena slovem volatile, nebude kompilátor žádným způsobem optimalizovat její užití. volatile int i; i = 0; while (i == 0); /* smyčka bude ukončena nějakou vnější událostí, která změní hodnotu i */ Deklarace volatile (nestálý) znamená, že k obsahu proměnné přistupuje ještě nějaký jiný proces než ten, který je řízen aktuálním zdrojovým kódem. Může to být například souběžné běžící vlákno jiného procesu nebo hardwarové přerušení. Že je proměnná označena jako volatile, ještě neznamená, že operace s ní jsou atomické.
|
| dbpprop:hasPhotoCollection
| |
| dbpprop:reference
| |
| rdf:type
| |
| rdfs:comment
|
- In computer programming, particularly in the C, C++, and C# programming languages, a variable or object declared with the volatile keyword may be modified externally from the declaring object. Variables declared to be volatile will not be optimized by the compiler because the compiler must assume that their values can change at any time. Note that operations on a volatile variable in C and C++ are not guaranteed to be atomic.
- Volatile je rezervované slovo programovacího jazyka C. Pokud je nějaká proměnná označena slovem volatile, nebude kompilátor žádným způsobem optimalizovat její užití. volatile int i; i = 0; while (i == 0); /* smyčka bude ukončena nějakou vnější událostí, která změní hodnotu i */ Deklarace volatile (nestálý) znamená, že k obsahu proměnné přistupuje ještě nějaký jiný proces než ten, který je řízen aktuálním zdrojovým kódem.
|
| rdfs:label
|
- Volatile variable
- Volatile
|
| owl:sameAs
| |
| skos:subject
| |
| foaf:page
| |
| is dbpprop:disambiguates
of | |
| is dbpprop:redirect
of | |
| is owl:sameAs
of | |