Searched refs:OSAtomicCompareAndSwapInt (Results 1 – 1 of 1) sorted by relevance
| /xnu-12377.61.12/libkern/libclosure/ ! |
| H A D | runtime.cpp | 82 OSAtomicCompareAndSwapInt(int oldi, int newi, int volatile *dst) in OSAtomicCompareAndSwapInt() function 90 #define OSAtomicCompareAndSwapInt(_Old, _New, _Ptr) os_atomic_cmpxchg(_Ptr, _Old, _New, relaxed) macro 106 if (OSAtomicCompareAndSwapInt(old_value, old_value + 2, where)) { in latching_incr_int() 125 if (OSAtomicCompareAndSwapInt(old_value, old_value + 2, where)) { in latching_incr_int_not_deallocating() 151 if (OSAtomicCompareAndSwapInt(old_value, new_value, where)) { in latching_decr_int_should_deallocate()
|