Go to the documentation of this file.
   19 #ifndef GRPC_SUPPORT_ATM_WINDOWS_H 
   20 #define GRPC_SUPPORT_ATM_WINDOWS_H 
   28 #define GPR_ATM_MAX INTPTR_MAX 
   29 #define GPR_ATM_MIN INTPTR_MIN 
   31 #define gpr_atm_full_barrier MemoryBarrier 
   58   return o == (
gpr_atm)InterlockedCompareExchangeAcquire64(
 
   59                   (
volatile LONGLONG*)p, (LONGLONG)n, (LONGLONG)o);
 
   61   return o == (
gpr_atm)InterlockedCompareExchangeAcquire((
volatile LONG*)p,
 
   68   return o == (
gpr_atm)InterlockedCompareExchangeAcquire64(
 
   69                   (
volatile LONGLONG*)p, (LONGLONG)n, (LONGLONG)o);
 
   71   return o == (
gpr_atm)InterlockedCompareExchangeAcquire((
volatile LONG*)p,
 
   78   return o == (
gpr_atm)InterlockedCompareExchangeRelease64(
 
   79                   (
volatile LONGLONG*)p, (LONGLONG)n, (LONGLONG)o);
 
   81   return o == (
gpr_atm)InterlockedCompareExchangeRelease((
volatile LONG*)p,
 
   88   return o == (
gpr_atm)InterlockedCompareExchange64((
volatile LONGLONG*)p,
 
   89                                                     (LONGLONG)n, (LONGLONG)o);
 
   91   return o == (
gpr_atm)InterlockedCompareExchange((
volatile LONG*)p, (LONG)n,
 
  112   } 
while (old != (
gpr_atm)InterlockedCompareExchange64((
volatile LONGLONG*)p,
 
  113                                                         (LONGLONG)old + delta,
 
  118   } 
while (old != (
gpr_atm)InterlockedCompareExchange(
 
  119                       (
volatile LONG*)p, (LONG)old + delta, (LONG)old));
 
  125   return (
gpr_atm)InterlockedExchangePointer((PVOID*)p, (PVOID)n);
 
  
#define gpr_atm_acq_load(p)
Definition: atm_gcc_atomic.h:38
 
#define gpr_atm_full_barrier()
Definition: atm_gcc_atomic.h:36
 
#define gpr_atm_no_barrier_load(p)
Definition: atm_gcc_atomic.h:39
 
#define gpr_atm_rel_cas(p, o, n)
Definition: atm_gcc_sync.h:72
 
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:32
 
#define gpr_atm_full_xchg(p, n)
Definition: atm_gcc_atomic.h:78
 
#define gpr_atm_no_barrier_cas(p, o, n)
Definition: atm_gcc_sync.h:70
 
#define gpr_atm_no_barrier_store(p, value)
Definition: atm_gcc_atomic.h:42
 
#define gpr_atm_full_cas(p, o, n)
Definition: atm_gcc_sync.h:73
 
#define gpr_atm_rel_store(p, value)
Definition: atm_gcc_atomic.h:40
 
#define gpr_atm_acq_cas(p, o, n)
Definition: atm_gcc_sync.h:71
 
#define gpr_atm_full_fetch_add(p, delta)
Definition: atm_gcc_atomic.h:47
 
#define gpr_atm_no_barrier_fetch_add(p, delta)
Definition: atm_gcc_atomic.h:45