Make actor flags atomic to silence false positives
Use `atomic<int>` instead of `int` for `local_actor::m_flags`. The atomic uses only relaxed memory ordering, since all flags that are allowed to be read by others never change after an actor has launched. This should produce the same compiler output as before---at least on x86 or any platform with atomic load/store for word sized memory regions---but suppresses false positives from analyser tools such as Thread Sanitizer. Close #255.
Showing
Please register or sign in to comment