jeudi 22 septembre 2022

In C++, which Standard Library functions (if any) are required to implicitly provided an atomic memory fence?

For example, is calling std::mutex::lock() required by the Standard to provide a sequentially consistent fence, an acquire fence, or neither?

cppreference.com doesn't seem to address this topic. Is it addressed in any reference documentation that's more easy to use than the Standard or working papers?

Aucun commentaire:

Enregistrer un commentaire