Re:Atomics in Objective-C
by liuliu on Tuesday May 05, 2015 @01:39PM
(#9493795)
Or just use std::atomic and other std::mutex in Objective-C++. Under Objective-C world, no memory semantics are well-defined, and all these are hacks on pile of other hacks.
[ Parent
| on HN ]
Can you explain more about hacks piled on other hacks?
Re:Atomics in Objective-C
by richardwhiuk on Tuesday May 05, 2015 @02:01PM
(#9493934)
@synchronization defines a memory barrier as I understand.