[core] Add platform::setCurrentThreadPriority(double)

This commit is contained in:
Alexander Shalamov
2020-01-31 17:01:12 +02:00
parent 5789faf11a
commit 4be2fa4f9a
5 changed files with 40 additions and 3 deletions

View File

@@ -22,5 +22,9 @@ void setCurrentThreadName(const std::string& name);
// Makes the current thread low priority.
void makeThreadLowPriority();
// Sets priority of a current thread. Platform implementation
// must validate provided value.
void setCurrentThreadPriority(double priority);
} // namespace platform
} // namespace mbgl