Searched refs:OSAtomicCompareAndSwapInt (Results 1 – 1 of 1) sorted by relevance
57 static __inline bool OSAtomicCompareAndSwapInt(int oldi, int newi, int volatile *dst) { in OSAtomicCompareAndSwapInt() function76 static __inline bool OSAtomicCompareAndSwapInt(int oldi, int newi, int volatile *dst) { in OSAtomicCompareAndSwapInt() function122 if (OSAtomicCompareAndSwapInt(old_value, old_value+1, (volatile int *)where)) { in latching_incr_int()154 if (OSAtomicCompareAndSwapInt(old_value, old_value-1, (volatile int *)where)) { in latching_decr_int()