宏定义 |
#define | _atomic_h_cleanup_ "atomic/generic-msvc.h" |
#define | MY_ATOMIC_MODE "msvc-intrinsics" |
#define | IL_EXCHG_ADD32(X, Y) InterlockedExchangeAdd((volatile LONG *)(X),(Y)) |
#define | IL_COMP_EXCHG32(X, Y, Z) InterlockedCompareExchange((volatile LONG *)(X),(Y),(Z)) |
#define | IL_COMP_EXCHGptr InterlockedCompareExchangePointer |
#define | IL_EXCHG32(X, Y) InterlockedExchange((volatile LONG *)(X),(Y)) |
#define | IL_EXCHGptr InterlockedExchangePointer |
#define | make_atomic_add_body(S) v= IL_EXCHG_ADD ## S (a, v) |
#define | make_atomic_cas_body(S) |
#define | make_atomic_swap_body(S) v= IL_EXCHG ## S (a, v) |
#define | make_atomic_load_body(S) |
#define | YIELD_LOOPS 200 |
#define | LF_BACKOFF my_yield_processor() |