3 ms·
> C/C++ have a whole series of kludges - "volatile", "atomic", etc., which patch holes in race conditions but don't provide a coherent concurrency model. Are y
by haberman 10y ago
> C/C++ have a whole series of kludges - "volatile", "atomic", etc., which patch holes in race conditions but don't provide a coherent concurrency model.
Are you aware that C11/C++11 -- the language standards that added atomics -- also defined a coherent memory model?