| ||||
| Comment on GotW #95 Solution: Thread Safety and Synchronization by Bartosz Milewski
@xingzou: It’s very unfortunate that Java and C++ gave the word volatile completely different meanings. In Java, volatile would indeed protect you from a race, in C++ it would do no such thing. Think of Java volatile == C++ atomic. Think of C++ volatile as a way of accessing memory mapped IO. Read More » | ||||
| | ||||
| ||||
Wednesday, January 22, 2014
FeedaMail: Comments for Sutterâs Mill
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment