3 ms·
If you are using mutexes or other well defined abstractions, you need to care little about ordering. If you are writing atomic based code, you should be using
by gpderetta 4y ago
If you are using mutexes or other well defined abstractions, you need to care little about ordering.
If you are writing atomic based code, you should be using something like C++11 and C11 atomics that will take care of fencing on all platforms.