Searched refs:atomic_cmp_set (Results 1 – 1 of 1) sorted by relevance
/PHP-8.2/sapi/fpm/fpm/ |
H A D | fpm_atomic.h | 19 #define atomic_cmp_set(a,b,c) __sync_bool_compare_and_swap(a,b,c) macro 37 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() function 63 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() function 86 #define atomic_cmp_set(a,b,c) __sync_bool_compare_and_swap(a,b,c) macro 106 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() function 123 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() function 143 return atomic_cmp_set(lock, 0, 1) ? 1 : 0; in fpm_spinlock() 148 if (atomic_cmp_set(lock, 0, 1)) { in fpm_spinlock()
|
Completed in 6 milliseconds