DescriptionSuppress TSAN Race in TaskSchedulerWorkerPoolCheckTlsReuse
The race condition is expected as we're racing the thread reclaim
logic. ThreadLocalStorage happens to not synchronize anything at the
moment. Adding a lock to synchronize usage of g_tls_destructors won't
actually fix the inherent race condition. In production, it's up the
owner to make sure that any references have cleaned up before
releasing the TLS slot.
Given that ThreadLocalStorage will be getting some locks in the future,
so I expect to be able to remove the suppression once that goes
through.
BUG=638378
Committed: https://crrev.com/ad1893a4eeeb1775709005ad7df0081560fa27d3
Cr-Commit-Position: refs/heads/master@{#412362}
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|