Skip to content

Atomic operations library

cppreference Atomic operations library

Memory synchronization ordering

章节
memory_order(C++11) defines memory ordering constraints for the given atomic operation (enum)
kill_dependency(C++11) removes the specified object from the std::memory_order_consume dependency tree (function template)
atomic_thread_fence(C++11) generic memory order-dependent fence synchronization primitive (function)
atomic_signal_fence(C++11) fence between a thread and a signal handler executed in the same thread (function)

TODO

stackoverflow What exactly is std::atomic?

NOTE: 非常好的内容