[base] Don't sample Now() in POSIX's WaitableEvent::Wait()
Fixes a race between sampling Now() on an idle content_unittests helper thread and ~ScopedTimeClockOverrides. TSAN log: https://paste.googleplex.com/6136256530481152 Attempt to avoid requiring TSAN suppression @ https://chromium-review.googlesource.com/c/chromium/src/+/1488877 R=kylechar@chromium.org Bug: 910524 Change-Id: Ida3a3d8fe689a3d51a6f6f6d6870e2dca443f5d1 Reviewed-on: https://chromium-review.googlesource.com/c/1489297Reviewed-by:kylechar <kylechar@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#635615}
Showing
Please register or sign in to comment