Home
last modified time | relevance | path

Searched refs:CAS_LOCK (Results 1 – 1 of 1) sorted by relevance

/external/dlmalloc/
Dmalloc.c1828 #define CAS_LOCK(sl) __sync_lock_test_and_set(sl, 1) macro
1854 #define CAS_LOCK(sl) x86_cas_lock(sl) macro
1858 #define CAS_LOCK(sl) interlockedexchange(sl, (LONG)1) macro
1880 while (*(volatile int *)sl != 0 || CAS_LOCK(sl)) { in spin_acquire_lock()
1889 #define TRY_LOCK(sl) !CAS_LOCK(sl)
1891 #define ACQUIRE_LOCK(sl) (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
1934 if (!CAS_LOCK(&lk->sl)) { in recursive_acquire_lock()
1953 if (!CAS_LOCK(&lk->sl)) { in recursive_try_lock()