mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-16 20:41:11 +08:00
4f0a0f5d36
ExceptionHandlerServer::keep_running_ is used to implement synchronization across threads (e.g. ExceptionHandlerServer::Stop) but the variable is not atomic. This causes TSan failures and could also lead to incorrect compiler optimizations. Bug: crashpad:304 Change-Id: I3cf5c083d70b6be903e16dbb6feb8fecea2aa1b8 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1706793 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org>