summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorStjepan Glavina <stjepang@gmail.com>2018-09-21 19:20:41 +0200
committerCarl Lerche <me@carllerche.com>2018-09-21 10:20:41 -0700
commit20ca59114a0493df699a74b3d472e7afe1bdf921 (patch)
tree629205025146b0c2e3476ebb741231a442c3dc13 /ci
parent3dd95a9ff14109f2b27d181960f478ad67c0c1ae (diff)
threadpool: impl Drop for Queue (#649)
We need to drain the queue when dropping, or else those `Arc<Task>`s will be leaked. Fixes #542
Diffstat (limited to 'ci')
-rw-r--r--ci/tsan1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/tsan b/ci/tsan
index 853736c2..65d65eff 100644
--- a/ci/tsan
+++ b/ci/tsan
@@ -29,4 +29,5 @@ race:crossbeam_deque*steal
# 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:Backup::set_next_sleeper
race:WorkerEntry::set_next_sleeper