Repository navigation
Commit 1c0e2d9
Add TSAN suppressions for FileLogger2 false positives
TSAN doesn't properly track happens-before relationship between mutex
creation in make_unique and first cross-thread access, even though
std::thread::thread provides the synchronization guarantee. The mutex
is properly protected: base class constructor acquires/releases it
before StatusChangeLogger subscribes to callbacks, and writer thread
acquires it before setting the ready flag.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 8c607f9 commit 1c0e2d9
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments