diff options
author | Ilnur Khuziev <ilnur.khuziev@yandex.ru> | 2022-02-10 16:46:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:13 +0300 |
commit | 736dcd8ca259457a136f2f9f9168c44643914323 (patch) | |
tree | ddd46a036d68bfa83aa11b892f31243ea6b068a1 /util/thread | |
parent | 9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff) | |
download | ydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz |
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/thread')
-rw-r--r-- | util/thread/factory_ut.cpp | 2 | ||||
-rw-r--r-- | util/thread/lfqueue.h | 4 | ||||
-rw-r--r-- | util/thread/lfqueue_ut.cpp | 4 | ||||
-rw-r--r-- | util/thread/lfstack_ut.cpp | 4 | ||||
-rw-r--r-- | util/thread/pool.cpp | 2 | ||||
-rw-r--r-- | util/thread/pool_ut.cpp | 2 | ||||
-rw-r--r-- | util/thread/singleton_ut.cpp | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/util/thread/factory_ut.cpp b/util/thread/factory_ut.cpp index 647d96c901..d9a38c5e0e 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 ab523631e4..8d7e6aaa4b 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 83bca100cf..57ad8b4c34 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 e20a838f95..b392648ec6 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 05fad02e9b..b5343e85be 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 893770d0c4..5b16095a58 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 164b1cc184..8740bca949 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" |