4 ms·
So there are vendors out there that alter the behavior of volatile to act like a mutex in multi-threaded environments but don't tell anyone? Ugh. Well, TI doe
by scottLobster 7y ago
So there are vendors out there that alter the behavior of volatile to act like a mutex in multi-threaded environments but don't tell anyone? Ugh.
Well, TI doesn't do that thankfully. At least not for the MSP430.
- dirtydroog 7y agoHow did you draw that conclusion? People have been warning about volatile for years
- gpderetta 7y agofor a while Microsoft gave volatile acquire/release semantics, which implied a barrier on non-x86 cpus. They recognized it was a mistake backtracked on that around the time they started their effort to run Windows on ARM.