Readit News logoReadit News
JohnFen · 5 days ago
Bizarre. Whether or not they're working in the embedded space, I'd expect any competent C/C++ programmer to fully understand "volatile".
foxyv · 5 days ago
They are busy-waiting while waiting for a volatile integer to be changed by another thread? Is this normal in embedded? Most of my compilers would scream at me with warnings about this.
JohnFen · 5 days ago
That's an extremely unusual use case in embedded systems.