diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-08-26 01:41:46 +0000 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-08-26 02:50:51 +0000 |
commit | f119ef798b9d6d5bac78148472e783428f27447a (patch) | |
tree | 0f8097367f0f7a733f6d140bc611742c577d11e7 /src/input_common/sdl/sdl_impl.cpp | |
parent | 4efaecf1251b152536cbf84af2616f3181d64960 (diff) |
common/thread: Fix data race in is_set
As report by tsan, Event::Set can write is_set while WaitFor and friends
are reading from it. To address this issue, make is_set an atomic.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
0 files changed, 0 insertions, 0 deletions