Answer by walnut for Does a single atomic operation marked as...
No, memory_order_seq_cst only guarantees that there is a total order of all memory_order_seq_cst atomic accesses/fences, see [atomics.order]/3 of the C++17 standard final draft. It does not impose that...
View ArticleDoes a single atomic operation marked as std::memory_order_seq_cst trigger...
Sequential consistency imposes a global order of all atomic operations on all threads. As far as I know, this means that threads will behave as specified in the source code, with no reordering. All...
View Article
More Pages to Explore .....