[cpp-threads] Memory model question
Peter Dimov
pdimov at mmltd.net
Fri Aug 26 12:13:33 BST 2005
In your opinion, does the following example contain a data race?
// initially x == 0
T1:
x = 0;
T2:
r1 = x;
--
Peter Dimov
http://www.pdimov.com
More information about the cpp-threads
mailing list