Skip to content

error in atomic_compare_exchange_weak for MSVC

I believe the macro for atomic_compare_exchange_weak to wrap around InterlockedCompareExchange is wrong. The following diff should correct it.

msvc_atomic.diff

Without it rist_receiver_data_read2 would hang.

Edited by C Chi