#std::memory_order_acquire
Explore tagged Tumblr posts
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…
#ARM#fetch_add#Intel#ISYNC#LDADDA#LDADDAL#LDADDL#LDAR#LDAXR#LDXR#load#LOCK XADD#LOCK XCHG#LWARX#LWSYNC#powerpc#std::atomic#std::memory_order_acquire#std::memory_order_release#std::memory_order_seq_cst#STLR#STLXR#store#STWCX.#STXR
0 notes