8 ms·
memory_order_consume has been around since C++11, but discouraged. If you want a good overview of what it is supposed to do, https://preshing.com/20140709/the
by jbandela1 3y ago
memory_order_consume has been around since C++11, but discouraged.
If you want a good overview of what it is supposed to do,
https://preshing.com/20140709/the-purpose-of-memory_order_consume-in-cpp11/ https://preshing.com/20140709/the-purpose-of-memory_order_co...
goes into more detail with lots of examples and motivation.