aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/threading
diff options
context:
space:
mode:
authora-romanov <a-romanov@yandex-team.ru>2022-02-10 16:48:11 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:11 +0300
commit0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/threading
parentaa2986a34bde73b2cdcea5080c4443b7cf2ba686 (diff)
downloadydb-0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435.tar.gz
Restoring authorship annotation for <a-romanov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/threading')
-rw-r--r--library/cpp/threading/future/legacy_future.h2
-rw-r--r--library/cpp/threading/local_executor/local_executor.h2
-rw-r--r--library/cpp/threading/poor_man_openmp/thread_helper.h4
-rw-r--r--library/cpp/threading/skip_list/perf/main.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/threading/future/legacy_future.h b/library/cpp/threading/future/legacy_future.h
index ce257caa48..6f1eabad73 100644
--- a/library/cpp/threading/future/legacy_future.h
+++ b/library/cpp/threading/future/legacy_future.h
@@ -5,7 +5,7 @@
#include <util/thread/factory.h>
-#include <functional>
+#include <functional>
namespace NThreading {
template <typename TR, bool IgnoreException>
diff --git a/library/cpp/threading/local_executor/local_executor.h b/library/cpp/threading/local_executor/local_executor.h
index 5b8a3b1af9..c1c824f67c 100644
--- a/library/cpp/threading/local_executor/local_executor.h
+++ b/library/cpp/threading/local_executor/local_executor.h
@@ -9,7 +9,7 @@
#include <util/generic/singleton.h>
#include <util/generic/ymath.h>
-#include <functional>
+#include <functional>
namespace NPar {
struct ILocallyExecutable : virtual public TThrRefBase {
diff --git a/library/cpp/threading/poor_man_openmp/thread_helper.h b/library/cpp/threading/poor_man_openmp/thread_helper.h
index a53727e088..0ecee0590b 100644
--- a/library/cpp/threading/poor_man_openmp/thread_helper.h
+++ b/library/cpp/threading/poor_man_openmp/thread_helper.h
@@ -45,7 +45,7 @@ namespace NYmp {
}
template <typename T>
- inline void ParallelForStaticChunk(T begin, T end, size_t chunkSize, std::function<void(T)> func) {
+ inline void ParallelForStaticChunk(T begin, T end, size_t chunkSize, std::function<void(T)> func) {
chunkSize = Max<size_t>(chunkSize, 1);
size_t threadCount = TMtpQueueHelper::Instance().GetThreadCount();
@@ -96,7 +96,7 @@ namespace NYmp {
}
template <typename T>
- inline void ParallelForStaticAutoChunk(T begin, T end, std::function<void(T)> func) {
+ inline void ParallelForStaticAutoChunk(T begin, T end, std::function<void(T)> func) {
const size_t taskSize = end - begin;
const size_t threadCount = TMtpQueueHelper::Instance().GetThreadCount();
diff --git a/library/cpp/threading/skip_list/perf/main.cpp b/library/cpp/threading/skip_list/perf/main.cpp
index 9b25574277..4ad52049e7 100644
--- a/library/cpp/threading/skip_list/perf/main.cpp
+++ b/library/cpp/threading/skip_list/perf/main.cpp
@@ -6,7 +6,7 @@
#include <util/datetime/base.h>
#include <util/generic/map.h>
#include <util/generic/vector.h>
-#include <functional>
+#include <functional>
#include <util/memory/pool.h>
#include <util/random/random.h>
#include <util/string/join.h>