aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/local_executor/local_executor.h
diff options
context:
space:
mode:
authorcobat <cobat@yandex-team.ru>2022-02-10 16:49:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:07 +0300
commite486e109b08823b61996f2154f0bc6b7c27a4af4 (patch)
treecb98553f871fe96452fd02bd46a1a4e0cf165844 /library/cpp/threading/local_executor/local_executor.h
parent85e7b8b43a12f69b4721aee71dea28491c9bd503 (diff)
downloadydb-e486e109b08823b61996f2154f0bc6b7c27a4af4.tar.gz
Restoring authorship annotation for <cobat@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/threading/local_executor/local_executor.h')
-rw-r--r--library/cpp/threading/local_executor/local_executor.h6
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 c1c824f67c..d661756008 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;
}