Use a global "void_instruction" in imscope record thread
This avoids the issue of compare_exchange_weak always failing. The issue was that `store()` is not equal to `exchange()`. `exchange` uses memory copy while `store()` copies the value representation of the argument, which is not always the same thing.
Showing
Please register or sign in to comment