Commit f119ef79 authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

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.
parent 4efaecf1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment