| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Fix data race in WorkerThread::running_
WorkerThread::running_ is accessed from both the main thread (during
Start() and Stop()) and the worker thread (in
WorkerThreadImpl::ThreadMain()). Since these accesses were not
synchronized, ThreadSanitizer (TSAN) detected a data race during
WorkerThread/Restart tests.
This change converts running_ to std::atomic_bool to ensure thread-safe
access across threads.
- Verified by running crashpad/util:util_ios_test with TSAN enabled.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |