aboutsummaryrefslogtreecommitdiffstats
path: root/util/thread
diff options
context:
space:
mode:
authorkulikov <kulikov@yandex-team.com>2024-09-12 19:28:16 +0300
committerkulikov <kulikov@yandex-team.com>2024-09-12 19:43:48 +0300
commit20a8c1bdb3377f5cb86adc3173d7a329245ebaa1 (patch)
tree2252acf3ab8803ed742b2e35386aaa31e28a8fca /util/thread
parent06218aa8d37f8624a4caeff1be3f59217b162158 (diff)
downloadydb-20a8c1bdb3377f5cb86adc3173d7a329245ebaa1.tar.gz
fix tsan warnings in library/cpp/threading unit tests
- blocking_counter: fix destroy order; - thread_local: Head_.load must use std::memory_order_acquire to match memory_order_release in compare_exchange and ensure all writes are visible; also fix always null node value in first compare_exchange call; - work_stealing: use atomics. commit_hash:53f01a16bb40dd3eb890b0eb60388ecb0ce9c908
Diffstat (limited to 'util/thread')
0 files changed, 0 insertions, 0 deletions