whitespace
parent
34ea20beca
commit
baebb317e4
|
@ -37,7 +37,7 @@ namespace factor
|
||||||
_(callstack_for) \
|
_(callstack_for) \
|
||||||
_(callstack_to_array) \
|
_(callstack_to_array) \
|
||||||
_(check_datastack) \
|
_(check_datastack) \
|
||||||
_(clear_samples) \
|
_(clear_samples) \
|
||||||
_(clone) \
|
_(clone) \
|
||||||
_(code_blocks) \
|
_(code_blocks) \
|
||||||
_(code_room) \
|
_(code_room) \
|
||||||
|
@ -91,7 +91,7 @@ namespace factor
|
||||||
_(ftell) \
|
_(ftell) \
|
||||||
_(full_gc) \
|
_(full_gc) \
|
||||||
_(fwrite) \
|
_(fwrite) \
|
||||||
_(get_samples) \
|
_(get_samples) \
|
||||||
_(identity_hashcode) \
|
_(identity_hashcode) \
|
||||||
_(innermost_stack_frame_executing) \
|
_(innermost_stack_frame_executing) \
|
||||||
_(innermost_stack_frame_scan) \
|
_(innermost_stack_frame_scan) \
|
||||||
|
|
|
@ -59,7 +59,7 @@ VM_C_API void *factor_memcpy(void *dst, void *src, size_t len);
|
||||||
|
|
||||||
#define FACTOR_ATOMIC_CAS(ptr, old_val, new_val) \
|
#define FACTOR_ATOMIC_CAS(ptr, old_val, new_val) \
|
||||||
(InterlockedCompareExchange64( \
|
(InterlockedCompareExchange64( \
|
||||||
reinterpret_cast<volatile LONG64 *>(ptr), new_val, old_val) == old_val)
|
reinterpret_cast<volatile LONG64 *>(ptr), new_val, old_val) == old_val)
|
||||||
|
|
||||||
#define FACTOR_ATOMIC_ADD(ptr, val) \
|
#define FACTOR_ATOMIC_ADD(ptr, val) \
|
||||||
InterlockedAdd64(reinterpret_cast<volatile LONG64 *>(ptr), val)
|
InterlockedAdd64(reinterpret_cast<volatile LONG64 *>(ptr), val)
|
||||||
|
@ -71,7 +71,7 @@ VM_C_API void *factor_memcpy(void *dst, void *src, size_t len);
|
||||||
|
|
||||||
#define FACTOR_ATOMIC_CAS(ptr, old_val, new_val) \
|
#define FACTOR_ATOMIC_CAS(ptr, old_val, new_val) \
|
||||||
(InterlockedCompareExchange( \
|
(InterlockedCompareExchange( \
|
||||||
reinterpret_cast<volatile LONG *>(ptr), new_val, old_val) == old_val)
|
reinterpret_cast<volatile LONG *>(ptr), new_val, old_val) == old_val)
|
||||||
|
|
||||||
#define FACTOR_ATOMIC_ADD(ptr, val) \
|
#define FACTOR_ATOMIC_ADD(ptr, val) \
|
||||||
InterlockedAdd(reinterpret_cast<volatile LONG *>(ptr), val)
|
InterlockedAdd(reinterpret_cast<volatile LONG *>(ptr), val)
|
||||||
|
|
Loading…
Reference in New Issue