diff options
author | a-romanov <a-romanov@yandex-team.ru> | 2022-02-10 16:48:11 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:11 +0300 |
commit | 0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /util/thread | |
parent | aa2986a34bde73b2cdcea5080c4443b7cf2ba686 (diff) | |
download | ydb-0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435.tar.gz |
Restoring authorship annotation for <a-romanov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/thread')
-rw-r--r-- | util/thread/factory.cpp | 2 | ||||
-rw-r--r-- | util/thread/factory.h | 2 | ||||
-rw-r--r-- | util/thread/lfqueue_ut.cpp | 2 | ||||
-rw-r--r-- | util/thread/lfstack_ut.cpp | 6 | ||||
-rw-r--r-- | util/thread/pool.h | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/util/thread/factory.cpp b/util/thread/factory.cpp index e956b8b098..48e898f32d 100644 --- a/util/thread/factory.cpp +++ b/util/thread/factory.cpp @@ -62,7 +62,7 @@ namespace { } private: - std::function<void()> Func; + std::function<void()> Func; }; } diff --git a/util/thread/factory.h b/util/thread/factory.h index 8f13244e45..561fcbac88 100644 --- a/util/thread/factory.h +++ b/util/thread/factory.h @@ -1,7 +1,7 @@ #pragma once #include <util/generic/ptr.h> -#include <functional> +#include <functional> class IThreadFactory { public: diff --git a/util/thread/lfqueue_ut.cpp b/util/thread/lfqueue_ut.cpp index 454a75cf82..83bca100cf 100644 --- a/util/thread/lfqueue_ut.cpp +++ b/util/thread/lfqueue_ut.cpp @@ -1,6 +1,6 @@ #include <library/cpp/threading/future/future.h> #include <library/cpp/testing/unittest/registar.h> - + #include <util/generic/algorithm.h> #include <util/generic/vector.h> #include <util/generic/ptr.h> diff --git a/util/thread/lfstack_ut.cpp b/util/thread/lfstack_ut.cpp index 8fa1037789..e20a838f95 100644 --- a/util/thread/lfstack_ut.cpp +++ b/util/thread/lfstack_ut.cpp @@ -1,4 +1,4 @@ - + #include <util/system/atomic.h> #include <util/system/event.h> #include <util/generic/deque.h> @@ -88,11 +88,11 @@ Y_UNIT_TEST_SUITE(TLockFreeStackTests) { TVector<TSimpleSharedPtr<NThreading::TLegacyFuture<>>> futures; for (size_t i = 0; i < EnqueueThreads; ++i) { - futures.push_back(new NThreading::TLegacyFuture<>(std::bind(&TDequeueAllTester<SingleConsumer>::Enqueuer, this))); + futures.push_back(new NThreading::TLegacyFuture<>(std::bind(&TDequeueAllTester<SingleConsumer>::Enqueuer, this))); } for (size_t i = 0; i < DequeueThreads; ++i) { - futures.push_back(new NThreading::TLegacyFuture<>(std::bind(&TDequeueAllTester<SingleConsumer>::DequeuerAll, this))); + futures.push_back(new NThreading::TLegacyFuture<>(std::bind(&TDequeueAllTester<SingleConsumer>::DequeuerAll, this))); } // effectively join diff --git a/util/thread/pool.h b/util/thread/pool.h index e0583c2a73..d1ea3a67cb 100644 --- a/util/thread/pool.h +++ b/util/thread/pool.h @@ -8,7 +8,7 @@ #include <util/generic/yexception.h> #include <util/generic/ptr.h> #include <util/generic/noncopyable.h> -#include <functional> +#include <functional> class TDuration; |