Searched refs:gpr_atm_acq_cas (Results 1 – 4 of 4) sorted by relevance
/external/grpc-grpc/include/grpc/impl/codegen/ |
D | atm_gcc_sync.h | 70 #define gpr_atm_no_barrier_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n)) 71 #define gpr_atm_acq_cas(p, o, n) (__sync_bool_compare_and_swap((p), (o), (n))) macro 72 #define gpr_atm_rel_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n)) 73 #define gpr_atm_full_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
|
D | atm_gcc_atomic.h | 69 static __inline int gpr_atm_acq_cas(gpr_atm* p, gpr_atm o, gpr_atm n) { in gpr_atm_acq_cas() function
|
D | atm_windows.h | 64 static __inline int gpr_atm_acq_cas(gpr_atm* p, gpr_atm o, gpr_atm n) { in gpr_atm_acq_cas() function
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | spinlock.h | 40 #define gpr_spinlock_trylock(lock) (gpr_atm_acq_cas(&(lock)->atm, 0, 1))
|