Searched refs:atomic_cmp_set (Results 1 – 1 of 1) sorted by relevance
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_atomic.h | 25 #define atomic_cmp_set(a,b,c) __sync_bool_compare_and_swap(a,b,c) macro 43 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() function 69 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() function 92 #define atomic_cmp_set(a,b,c) __sync_bool_compare_and_swap(a,b,c) macro 112 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() function 129 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() function 149 return atomic_cmp_set(lock, 0, 1) ? 1 : 0; in fpm_spinlock() 154 if (atomic_cmp_set(lock, 0, 1)) { in fpm_spinlock()
|
Completed in 6 milliseconds