carries_dependency and kill_dependency

I read some materials about them, but I can not understand them.

who can illustrate them with simple language and simple example?
Anthony Williams on [[carries_dependency]] http://stackoverflow.com/a/6411703\
(it has a very simple example)

Once we understand what [[carries_dependency]] means, std::kill_dependency() is straightforward.
http://en.cppreference.com/w/cpp/atomic/kill_dependency

More info: see 'Data Dependency with Acquire-release Ordering and memory_order_consume'
http://www.developerfusion.com/article/138018/memory-ordering-for-atomic-operations-in-c0x/
Topic archived. No new replies allowed.