aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/poor_man_openmp
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 /library/cpp/threading/poor_man_openmp
parente77cfd118321c5b9c168fdee41b4e6c5706b8f68 (diff)
downloadydb-aa2986a34bde73b2cdcea5080c4443b7cf2ba686.tar.gz
Restoring authorship annotation for <a-romanov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/threading/poor_man_openmp')
-rw-r--r--library/cpp/threading/poor_man_openmp/thread_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/threading/poor_man_openmp/thread_helper.h b/library/cpp/threading/poor_man_openmp/thread_helper.h
index 0ecee0590b5..a53727e0889 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();