• Bartosz Podrygajlo's avatar
    Use a global "void_instruction" in imscope record thread · 2ea6ac26
    Bartosz Podrygajlo authored
    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.
    2ea6ac26
imscope_record.cpp 5.98 KB