Re: objc_atomicCompareAndSwapInstanceVariable

2009-10-03 Thread André Berg
Thanks Greg! This really clears up a lot! And also thanks about clarifying the bit about the objc->ivar syntax. Seems I jumped to conclusions when I accidentally tried to access another object's ivar that way. Personally I think you're doing a great job with the GC, Dispatch and Blocks suppor

Re: objc_atomicCompareAndSwapInstanceVariable

2009-10-03 Thread Greg Parker
On Oct 3, 2009, at 2:13 AM, André Berg wrote: In I found this functions: OBJC_GC_EXPORT BOOL objc_atomicCompareAndSwapPtr(id predicate, id replacement, volatile id *objectLocation) OBJC_GC_EXPORT BOOL objc_atomicCompareAndSwapInstanceVariable(id predicate, id replacement, volatile id

objc_atomicCompareAndSwapInstanceVariable

2009-10-03 Thread André Berg
Hi, In I found this functions: OBJC_GC_EXPORT BOOL objc_atomicCompareAndSwapPtr(id predicate, id replacement, volatile id *objectLocation) OBJC_GC_EXPORT BOOL objc_atomicCompareAndSwapInstanceVariable(id predicate, id replacement, volatile id *objectLocation); OBJC_GC_EXPORT BOOL