Namespaces
Variants
Views
Actions

Talk:cpp/language/memory model

From cppreference.com

This page defines 'data race' in section 'Threads and data races'. Is the definition also valid for multi-process communication through shared memory?

Not in the C++ language spec, but it is in practice (as in, accesses to non-atomic variables in shared memory have to be synchronized through std::memory_order'ed atomic accesses/barriers or externally). --Cubbi (talk) 07:33, 1 April 2015 (PDT)