diff options
author | a-romanov <a-romanov@yandex-team.ru> | 2022-02-10 16:48:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:10 +0300 |
commit | aa2986a34bde73b2cdcea5080c4443b7cf2ba686 (patch) | |
tree | 410fbde59311309b774a0da147f79628c3429a2c /library/cpp/threading | |
parent | e77cfd118321c5b9c168fdee41b4e6c5706b8f68 (diff) | |
download | ydb-aa2986a34bde73b2cdcea5080c4443b7cf2ba686.tar.gz |
Restoring authorship annotation for <a-romanov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/threading')
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 6f1eabad73..ce257caa48 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 c1c824f67c..5b8a3b1af9 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 0ecee0590b..a53727e088 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 4ad52049e7..9b25574277 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> |