aboutsummaryrefslogtreecommitdiffstats
path: root/util/thread
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:14 +0300
commit60040c91ffe701a84689b2c6310ff845e65cff42 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/thread
parent736dcd8ca259457a136f2f9f9168c44643914323 (diff)
downloadydb-60040c91ffe701a84689b2c6310ff845e65cff42.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'util/thread')
-rw-r--r--util/thread/factory_ut.cpp2
-rw-r--r--util/thread/lfqueue.h4
-rw-r--r--util/thread/lfqueue_ut.cpp4
-rw-r--r--util/thread/lfstack_ut.cpp4
-rw-r--r--util/thread/pool.cpp2
-rw-r--r--util/thread/pool_ut.cpp2
-rw-r--r--util/thread/singleton_ut.cpp2
7 files changed, 10 insertions, 10 deletions
diff --git a/util/thread/factory_ut.cpp b/util/thread/factory_ut.cpp
index d9a38c5e0e..647d96c901 100644
--- a/util/thread/factory_ut.cpp
+++ b/util/thread/factory_ut.cpp
@@ -1,7 +1,7 @@
#include "factory.h"
#include "pool.h"
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
class TThrPoolTest: public TTestBase {
UNIT_TEST_SUITE(TThrPoolTest);
diff --git a/util/thread/lfqueue.h b/util/thread/lfqueue.h
index 8d7e6aaa4b..ab523631e4 100644
--- a/util/thread/lfqueue.h
+++ b/util/thread/lfqueue.h
@@ -385,12 +385,12 @@ public:
inline void Enqueue(TRef& t) {
Queue.Enqueue(t.Get());
- Y_UNUSED(t.Release());
+ Y_UNUSED(t.Release());
}
inline void Enqueue(TRef&& t) {
Queue.Enqueue(t.Get());
- Y_UNUSED(t.Release());
+ Y_UNUSED(t.Release());
}
inline bool IsEmpty() {
diff --git a/util/thread/lfqueue_ut.cpp b/util/thread/lfqueue_ut.cpp
index 57ad8b4c34..83bca100cf 100644
--- a/util/thread/lfqueue_ut.cpp
+++ b/util/thread/lfqueue_ut.cpp
@@ -1,5 +1,5 @@
-#include <library/cpp/threading/future/future.h>
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/threading/future/future.h>
+#include <library/cpp/testing/unittest/registar.h>
#include <util/generic/algorithm.h>
#include <util/generic/vector.h>
diff --git a/util/thread/lfstack_ut.cpp b/util/thread/lfstack_ut.cpp
index b392648ec6..e20a838f95 100644
--- a/util/thread/lfstack_ut.cpp
+++ b/util/thread/lfstack_ut.cpp
@@ -2,9 +2,9 @@
#include <util/system/atomic.h>
#include <util/system/event.h>
#include <util/generic/deque.h>
-#include <library/cpp/threading/future/legacy_future.h>
+#include <library/cpp/threading/future/legacy_future.h>
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include "lfstack.h"
diff --git a/util/thread/pool.cpp b/util/thread/pool.cpp
index b5343e85be..05fad02e9b 100644
--- a/util/thread/pool.cpp
+++ b/util/thread/pool.cpp
@@ -671,7 +671,7 @@ bool IThreadPool::AddAndOwn(THolder<IObjectInQueue> obj) {
auto owner = MakeHolder<TOwnedObjectInQueue>(std::move(obj));
bool added = Add(owner.Get());
if (added) {
- Y_UNUSED(owner.Release());
+ Y_UNUSED(owner.Release());
}
return added;
}
diff --git a/util/thread/pool_ut.cpp b/util/thread/pool_ut.cpp
index 5b16095a58..893770d0c4 100644
--- a/util/thread/pool_ut.cpp
+++ b/util/thread/pool_ut.cpp
@@ -1,6 +1,6 @@
#include "pool.h"
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include <util/stream/output.h>
#include <util/random/fast.h>
diff --git a/util/thread/singleton_ut.cpp b/util/thread/singleton_ut.cpp
index 8740bca949..164b1cc184 100644
--- a/util/thread/singleton_ut.cpp
+++ b/util/thread/singleton_ut.cpp
@@ -1,4 +1,4 @@
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include "singleton.h"