Re: multiple threads and volatile



Hallvard B Furuseth writes:
then the program must behave as if it did just that rather than
i = 200;

- The compiler can optimize that to i = 5;

Eh. About people not being smart enough... that was an incomplete
search & replace:-)

--
Hallvard
.



Relevant Pages