2018-05-25 12:40:37 -07:00
|
|
|
# TSAN suppressions file for `bytes`
|
|
|
|
|
|
|
|
|
|
# TSAN does not understand fences and `Arc::drop` is implemented using a fence.
|
|
|
|
|
# This causes many false positives.
|
|
|
|
|
race:Arc*drop
|
|
|
|
|
race:arc*Weak*drop
|
|
|
|
|
|
|
|
|
|
# `std` mpsc is not used in any Bytes code base. This race is triggered by some
|
|
|
|
|
# rust runtime logic.
|
|
|
|
|
race:std*mpsc_queue
|
|
|
|
|
|
2018-09-03 13:36:13 -07:00
|
|
|
# Some test runtime races. Allocation should be race free
|
|
|
|
|
race:alloc::alloc
|
|
|
|
|
|
2018-05-25 15:32:39 -07:00
|
|
|
# Not sure why this is warning, but it is in the test harness and not the library.
|
|
|
|
|
race:TestEvent*clone
|
|
|
|
|
race:test::run_tests_console::*closure
|
|
|
|
|
|
2018-05-25 12:40:37 -07:00
|
|
|
# Probably more fences in std.
|
|
|
|
|
race:__call_tls_dtors
|
|
|
|
|
|
2018-07-03 15:21:26 -07:00
|
|
|
# `is_inline_or_static` is explicitly called concurrently without synchronization.
|
|
|
|
|
# The safety explanation can be found in a comment.
|
|
|
|
|
race:Inner::is_inline_or_static
|
2018-11-17 07:27:00 -08:00
|
|
|
|
|
|
|
|
# This ignores a false positive caused by `thread::park()`/`thread::unpark()`.
|
|
|
|
|
# See: https://github.com/rust-lang/rust/pull/54806#issuecomment-436193353
|
|
|
|
|
race:pthread_cond_destroy
|