Searched refs:atomicCmpXchgPtr (Results 1 – 2 of 2) sorted by relevance
20 static inline bool atomicCmpXchgPtr(volatile uintptr_t *word, uintptr_t prevVal, uintptr_t newVal) { in atomicCmpXchgPtr() function
79 if (atomicCmpXchgPtr((uintptr_t*)&mCurrentTask, (uintptr_t)old, (uintptr_t)task)) { in osSetCurrentTask()