AtomicInteger in Java is implemented using volatile and CAS mechanism. source code
AtomicInteger
But, how C++11 implement atomic?
Aucun commentaire:
Enregistrer un commentaire