#std::memory_order_acquire
Explore tagged Tumblr posts
peeterjoot · 30 days ago
Text
A peek into C++ std::atomic. Extracting the meaning of std::memory_order_seq_cst.
When I worked on DB2-LUW, we had to write our own atomic implementation.  Ours worked on many different types of hardware, operating systems, and compilers, so was quite representative, and matches the capabilities of the now “new” C++ interfaces.  Some of that correspondence is not a surprise, since we provided our implementation to the xlC compiler team, who was advocating against…
0 notes