Stop using deprecated bytes APIs (#324)

This also adds a filter for another treiber stack expected data race. The
race is expected as part of the algorithm.
This commit is contained in:
Carl Lerche
2018-04-28 12:25:22 -07:00
committed by GitHub
parent 6ea00162b9
commit 9aaa8f06d1
2 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -22,7 +22,7 @@ race:crossbeam_deque
# TODO: It would be nice to not have to filter this out.
race:try_steal_task
# This filters out an expected data race in the treiber stack implementation.
# This filters out expected data race in the treiber stack implementations.
# Treiber stacks are inherently racy. The pop operation will attempt to access
# the "next" pointer on the node it is attempting to pop. However, at this
# point it has not gained ownership of the node and another thread might beat
@@ -30,3 +30,4 @@ race:try_steal_task
# original pop operation will fail due to the ABA guard, but tsan still picks
# up the access on the next pointer.
race:Backup::next_sleeper
race:WorkerEntry::set_next_sleeper