diff options
author | kulikov <kulikov@yandex-team.com> | 2024-09-12 19:28:16 +0300 |
---|---|---|
committer | kulikov <kulikov@yandex-team.com> | 2024-09-12 19:43:48 +0300 |
commit | 20a8c1bdb3377f5cb86adc3173d7a329245ebaa1 (patch) | |
tree | 2252acf3ab8803ed742b2e35386aaa31e28a8fca /util/thread | |
parent | 06218aa8d37f8624a4caeff1be3f59217b162158 (diff) | |
download | ydb-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