Liste des Groupes | Revenir à c arch |
On Tue, 3 Dec 2024 13:59:18 +0000, jseigh wrote:The compiler? Well, what about std::memory_order_*?
The compiler is allow to reorder code as long as it knows theWith exceptions enabled, this would allow for almost no code
reordering can't be observed or detected.
movement at all.
If there are placesThe problem is HOW to TELL the COMPILER that these memory references
in the code it doesn't know this can't happen it won't optimize
across it, more or less.
are "more special" than normal--when languages give few mechanisms.
Les messages affichés proviennent d'usenet.