j
k
j a
j l
On Mon Sep 19 08:34:24 2022 +0000, Piotr Caban wrote:
Isn't it better to make the `lock` member volatile?
There is no guarantee that volatile accesses won't be reordered by the compiler. We still need a barrier here.
Back to the thread
Back to the list