Searched refs:oldl (Results 1 – 1 of 1) sorted by relevance
51 static __inline bool OSAtomicCompareAndSwapLong(long oldl, long newl, long volatile *dst) { in OSAtomicCompareAndSwapLong() argument53 long original = InterlockedCompareExchange(dst, newl, oldl); in OSAtomicCompareAndSwapLong()54 return (original == oldl); in OSAtomicCompareAndSwapLong()72 static __inline bool OSAtomicCompareAndSwapLong(long oldl, long newl, long volatile *dst) { in OSAtomicCompareAndSwapLong() argument73 return __sync_bool_compare_and_swap(dst, oldl, newl); in OSAtomicCompareAndSwapLong()