Home
last modified time | relevance | path

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

/external/grpc-grpc/include/grpc/impl/codegen/
Datm_gcc_sync.h70 #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))
Datm_gcc_atomic.h69 static __inline int gpr_atm_acq_cas(gpr_atm* p, gpr_atm o, gpr_atm n) { in gpr_atm_acq_cas() function
Datm_windows.h64 static __inline int gpr_atm_acq_cas(gpr_atm* p, gpr_atm o, gpr_atm n) { in gpr_atm_acq_cas() function
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/
Datm_gcc_sync.h72 #define gpr_atm_no_barrier_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
73 #define gpr_atm_acq_cas(p, o, n) (__sync_bool_compare_and_swap((p), (o), (n))) macro
74 #define gpr_atm_rel_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
75 #define gpr_atm_full_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
Datm_gcc_atomic.h69 static __inline int gpr_atm_acq_cas(gpr_atm* p, gpr_atm o, gpr_atm n) { in gpr_atm_acq_cas() function
Datm_windows.h68 static __inline int gpr_atm_acq_cas(gpr_atm* p, gpr_atm o, gpr_atm n) { in gpr_atm_acq_cas() function
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/
Datm_gcc_sync.h72 #define gpr_atm_no_barrier_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
73 #define gpr_atm_acq_cas(p, o, n) (__sync_bool_compare_and_swap((p), (o), (n))) macro
74 #define gpr_atm_rel_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
75 #define gpr_atm_full_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
Datm_gcc_atomic.h69 static __inline int gpr_atm_acq_cas(gpr_atm* p, gpr_atm o, gpr_atm n) { in gpr_atm_acq_cas() function
Datm_windows.h68 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/
Dspinlock.h40 #define gpr_spinlock_trylock(lock) (gpr_atm_acq_cas(&(lock)->atm, 0, 1))
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dspinlock.h40 #define gpr_spinlock_trylock(lock) (gpr_atm_acq_cas(&(lock)->atm, 0, 1))