You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use std::thread::scope instead of scoped_threadpool
as it's easier to deal with TSAN false positives in the former API
as surfaced in PR 280 the current supression rules don't handle newer versions of the
scoped_threadpool crate
trying to update the supression rules related to scoped_threadpool in PR #282 revealed that the
supression rules are masking (hiding) real data races:
#282 (comment)
std::thread::scope requires less supression rules and does not mask real data races -- for instance,
the data race in the linked issue comment is not masked when using std::thread::scope
tradeoffs:
- pro: one less dev dependency
- pro: supressions file is simpler
- cons: std::thread::scope is only available on recent nightlies
0 commit comments