Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

volatile

Why is volatile not considered useful in multithreaded C or C++ programming?

by IT Nursery

As demonstrated in this answer I recently posted, I seem to be confused about the utility (or lack thereof) of volatile in multi-threaded … Read more

Tags c, c++-faq, multithreading, volatile

Why does volatile exist?

by IT Nursery

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

Tags c, c++-faq, volatile

Volatile vs Static in Java

by IT Nursery

Is it correct to say that static means one copy of the value for all objects and volatile means one copy of the … Read more

Tags concurrency, java, multithreading, static, volatile

Volatile boolean vs AtomicBoolean

by IT Nursery

What does AtomicBoolean do that a volatile boolean cannot achieve? 1Best Answers 11

Tags atomicboolean, boolean, concurrency, java, volatile

What is the difference between atomic / volatile / synchronized?

by IT Nursery

How do atomic / volatile / synchronized work internally? What is the difference between the following code blocks? Code 1 private int counter; … Read more

Tags atomic, java, multithreading, synchronization, volatile

Why do we use volatile keyword? [duplicate]

by IT Nursery

This question already has answers here: Closed 11 years ago. Possible Duplicate: Why does volatile exist? I have never used it but I … Read more

Tags c, compiler-optimization, volatile

Why is volatile needed in C?

by IT Nursery

Why is volatile needed in C? What is it used for? What will it do? 18 s 18 volatile tells the compiler not … Read more

Tags c, declaration, volatile

What is the volatile keyword useful for?

by IT Nursery

At work today, I came across the volatile keyword in Java. Not being very familiar with it, I found this explanation. Given the … Read more

Tags java, keyword, multithreading, volatile

Volatile vs. Interlocked vs. lock

by IT Nursery

Let’s say that a class has a public int counter field that is accessed by multiple threads. This int is only incremented or … Read more

Tags c, interlocked, locking, multithreading, volatile

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery