aboutsummaryrefslogtreecommitdiffstats
path: root/util/thread
diff options
context:
space:
mode:
authora-romanov <a-romanov@yandex-team.ru>2022-02-10 16:48:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:10 +0300
commitaa2986a34bde73b2cdcea5080c4443b7cf2ba686 (patch)
tree410fbde59311309b774a0da147f79628c3429a2c /util/thread
parente77cfd118321c5b9c168fdee41b4e6c5706b8f68 (diff)
downloadydb-aa2986a34bde73b2cdcea5080c4443b7cf2ba686.tar.gz
Restoring authorship annotation for <a-romanov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/thread')
-rw-r--r--util/thread/factory.cpp2
-rw-r--r--util/thread/factory.h2
-rw-r--r--util/thread/lfqueue_ut.cpp2
-rw-r--r--util/thread/lfstack_ut.cpp6
-rw-r--r--util/thread/pool.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/util/thread/factory.cpp b/util/thread/factory.cpp
index 48e898f32d..e956b8b098 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 561fcbac88..8f13244e45 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 83bca100cf..454a75cf82 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 e20a838f95..8fa1037789 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 d1ea3a67cb..e0583c2a73 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;