Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 73cc48b

Browse files
committed
tsan false positive
Signed-off-by: Adam Gutglick <[email protected]>
1 parent b0a2875 commit 73cc48b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

vortex-ffi/tsan_suppressions.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,13 @@
66
# where ordering is correct but uses an explicit fence and not relaxed load
77
race:oneshot-*/src/channel.rs
88
race:oneshot-*/src/lib.rs
9+
10+
# Taken from crossbeam's CI - https://github.com/crossbeam-rs/crossbeam/blob/05f9478b333ead58c0bf8e5a37d9ef9bd3b5bf17/ci/tsan#L1
11+
# Push and steal operations in crossbeam-deque may cause data races, but such
12+
# data races are safe. If a data race happens, the value read by `steal` is
13+
# forgotten and the steal operation is then retried.
14+
race:crossbeam_deque*push
15+
race:crossbeam_deque*steal
16+
17+
# Non-lock-free AtomicCell uses SeqLock which uses fences.
18+
race:crossbeam_utils::atomic::atomic_cell::atomic_compare_exchange_weak

0 commit comments

Comments
 (0)