Re:Comp.programming.threads FAQ (2001)
by MaxBarraclough on Friday March 19, 2021 @08:07PM
(#26519426)
There are still hardware differences today, but at least C and C++ have standardised memory-models (regarding concurrency) now. It's at least possible to reason about concurrency in a hardware-independent way, and to write portable concurrent C, even if it's still nightmarishly error-prone to do low-level concurrent programming.
That's why POSIX (and posix threads aka pthreads) was invented
https://docencia.ac.upc.edu/doctorat/ENGRAP/EEAP/EEAP2-4.pdf