Linux port

This commit is contained in:
Raphael Cotty
2021-10-29 15:17:40 +02:00
committed by Jakub Melka
parent 68704cd8e5
commit cbeb91fe18
58 changed files with 529 additions and 70 deletions

View File

@ -133,7 +133,7 @@ public:
}
else
{
std::for_each(std::execution::sequenced_policy(), first, last, f);
std::for_each(std::execution::seq, first, last, f);
}
}
@ -143,7 +143,7 @@ public:
Q_UNUSED(scope);
// We always sort by single thread
std::sort(std::execution::sequenced_policy(), first, last, f);
std::sort(std::execution::seq, first, last, f);
}
/// Returns number of active threads for given scope