About 2,160,000 results
Open links in new tab
  1. declaration - Why is volatile needed in C? - Stack Overflow

    Oct 29, 2008 · Volatile is also needed in threaded code when you are playing with data that isn't concurrency protected. And yes there are valid times to be doing that, you can for example …

  2. What does it mean when a member function is volatile?

    A volatile object can only call volatile member functions. So by marking the member function as volatile you'd be making any access to the non-static data members of the object within that …

  3. c# - What is the "volatile" keyword used for? - Stack Overflow

    Aug 7, 2010 · The volatile keyword indicates that a field might be modified by multiple threads that are executing at the same time. The compiler, the runtime system, and even hardware may …

  4. What is the use of the 'volatile' keyword? - Stack Overflow

    Mar 4, 2011 · What is the use of the volatile keyword in C/C++? What is the difference between declaring a variable volatile and not declaring it as volatile?

  5. c - What is the difference between Register and volatile? when to …

    Aug 8, 2017 · 6 volatile means that the value of the variable can be changed by something which is not visible for the compiler. That means that the variable has to have a valid memory …

  6. 'static volatile' vs. 'static' vs. 'volatile' in C - Stack Overflow

    Sep 2, 2017 · What's the difference between using the variable specifiers static volatile combined? Or using one alone; like static or volatile in microcontroller programming?

  7. c++ - Why does volatile exist? - Stack Overflow

    What does the volatile keyword do? In C++ what problem does it solve? In my case, I have never knowingly needed it.

  8. c++ - Why do we use the volatile keyword? - Stack Overflow

    The volatile keyword is a type qualifier used to declare that an object can be modified in the program by something such as the operating system, the hardware, or a concurrently …

  9. c - Difference between const & const volatile - Stack Overflow

    An implementation could specify that the semantics of volatile objects vary depending upon whether they are const, but if an implementation doesn't document that const affects the …

  10. c++ - Volatile function - Stack Overflow

    Summary: What does the keyword volatile do when applied to a function declaration in C and in C++? Details: I see that it's possible to compile a function that is marked as volatile. However, ...