Add a test case reported in:
https://github.com/google/sanitizers/issues/1401
and fix it.
The code assumes sigwait will process other signals.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D102057
tsan: mark sigwait as blocking ClosedPublic Authored by dvyukov on May 7 2021, 2:18 AM.
Details Summary Add a test case reported in:
Diff Detail
Event Timelinevitalybuka added inline comments.
This revision is now accepted and ready to land.May 11 2021, 5:03 PM This revision was landed with ongoing or failed builds.May 11 2021, 9:56 PM Closed by commit rG5dad3d1ba9ad: tsan: mark sigwait as blocking (authored by dvyukov). · Explain Why This revision was automatically updated to reflect the committed changes. dvyukov marked an inline comment as done. fhahn added a reverting change: rG086af1739988: Revert "tsan: mark sigwait as blocking".May 17 2021, 3:00 AM This revision is now accepted and ready to land.May 19 2021, 3:59 AM This revision was landed with ongoing or failed builds.May 19 2021, 4:03 AM Closed by commit rGc1eaa1168a90: tsan: mark sigwait as blocking (authored by dvyukov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 346401 compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/test/tsan/signal_block2.cpp
|
Would you like to avoid -D and just create 3 different timers and 3 different waits in single main invocation?