BOOST_CHECK is not thread safe and will make TSAN to raise a false
race condition in scheduler_tests.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGINGa07716c93dc9: Fix scheduler test race due to BOOST_CHECK in multithreaded context
rABCa07716c93dc9: Fix scheduler test race due to BOOST_CHECK in multithreaded context
With TSAN enabled:
./src/test/test_bitcoin -t scheduler_tests
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- fix_scheduler_tests_tsan
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 6757 Build 11561: Bitcoin ABC Buildbot (legacy) Build 11560: arc lint + arc unit