aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarkady-e1ppa <arkady-e1ppa@yandex-team.com>2024-06-11 09:54:53 +0300
committerarkady-e1ppa <arkady-e1ppa@yandex-team.com>2024-06-11 10:16:48 +0300
commit6db3b8ca95e44179e48306a58656fb1f9317d9c3 (patch)
treecdab834d70ca99b381eaaca54c0d5ce0993ab23f
parent493d9816e749405ffbfa68ed5dcc2eb458747a39 (diff)
downloadydb-6db3b8ca95e44179e48306a58656fb1f9317d9c3.tar.gz
Return to the use of NThreading::TSpinLock
4792c7769dba84e38c0d981714741114add571d3
-rw-r--r--library/cpp/yt/threading/fork_aware_spin_lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/yt/threading/fork_aware_spin_lock.h b/library/cpp/yt/threading/fork_aware_spin_lock.h
index 215fb58dc9..a07a5f1e52 100644
--- a/library/cpp/yt/threading/fork_aware_spin_lock.h
+++ b/library/cpp/yt/threading/fork_aware_spin_lock.h
@@ -1,8 +1,8 @@
#pragma once
#include "public.h"
+#include "spin_lock.h"
-#include <util/system/spinlock.h>
#include <util/system/src_location.h>
namespace NYT::NThreading {
@@ -30,7 +30,7 @@ public:
bool IsLocked() const noexcept;
private:
- ::TSpinLock SpinLock_;
+ ::NYT::NThreading::TSpinLock SpinLock_;
};
////////////////////////////////////////////////////////////////////////////////