Hacker News new | ask | show | jobs
by peterbotond 3333 days ago
volatile just means to keep updating the memory and not keep a copy in the cpu cache.
1 comments

That's wildly inaccurate. It's a language level feature that indicates values can change in ways other than what's suggested by the code that manipulate them.