The Basic Principles Of Atomic
– tc. Commented Dec 1, 2010 at 18:twenty @fyolnish I am not sure what _val/val are, but no, not really. The getter for an atomic duplicate/keep home needs to make sure that it doesn't return an item whose refcount will become zero because of the setter staying termed in One more thread, which in essence implies it should study the ivar, keep it