lundi 23 août 2021

Is atomic variable in C++ implemented using volatile and CAS?

AtomicInteger in Java is implemented using volatile and CAS mechanism. source code

But, how C++11 implement atomic?

Aucun commentaire:

Enregistrer un commentaire