diff options
author | cobat <cobat@yandex-team.ru> | 2022-02-10 16:49:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:07 +0300 |
commit | 1d2e8a8e9976488ea69a7e4763aa749244f82612 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/threading/local_executor/local_executor.h | |
parent | e486e109b08823b61996f2154f0bc6b7c27a4af4 (diff) | |
download | ydb-1d2e8a8e9976488ea69a7e4763aa749244f82612.tar.gz |
Restoring authorship annotation for <cobat@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/threading/local_executor/local_executor.h')
-rw-r--r-- | library/cpp/threading/local_executor/local_executor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/threading/local_executor/local_executor.h b/library/cpp/threading/local_executor/local_executor.h index d661756008..c1c824f67c 100644 --- a/library/cpp/threading/local_executor/local_executor.h +++ b/library/cpp/threading/local_executor/local_executor.h @@ -60,7 +60,7 @@ namespace NPar { // Describes a range of tasks with parameters from integer range [FirstId, LastId). // - class TExecRangeParams { + class TExecRangeParams { public: template <typename TFirst, typename TLast> TExecRangeParams(TFirst firstId, TLast lastId) @@ -95,7 +95,7 @@ namespace NPar { // Partition tasks into thread count blocks of approximately equal size, each of which // will be executed as a separate bigger task. // - TExecRangeParams& SetBlockCountToThreadCount() { + TExecRangeParams& SetBlockCountToThreadCount() { BlockEqualToThreads = true; return *this; } @@ -147,7 +147,7 @@ namespace NPar { } template <typename TBody> - inline void ExecRange(TBody&& body, TExecRangeParams params, int flags) { + inline void ExecRange(TBody&& body, TExecRangeParams params, int flags) { if (TryExecRangeSequentially(body, params.FirstId, params.LastId, flags)) { return; } |