3 ms·
You can use relaxed followed by an acquire compiler fence. Not great but it works.
by bonzini 3y ago
You can use relaxed followed by an acquire compiler fence. Not great but it works.
- gpderetta 3y agoC++ even provides a portable compiler fence in the form atomic_signal_fence.