c173a0ea88
TRACE_EVENT uses INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO and INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO reads and writes to a static variable on multiple threads. Fix by using std::atomic for the static variable. Bug: dawn:1700 Change-Id: I914bb73352e400f0adeafb64518d61099276270d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123680 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Quyen Le <lehoangquyen@chromium.org> |
||
---|---|---|
.. | ||
tracing | ||
BUILD.gn | ||
CMakeLists.txt | ||
DawnPlatform.cpp | ||
WorkerThread.cpp | ||
WorkerThread.h |