summaryrefslogtreecommitdiff
path: root/include/mbgl/util/platform.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/util/platform.hpp')
-rw-r--r--include/mbgl/util/platform.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbgl/util/platform.hpp b/include/mbgl/util/platform.hpp
index 3544659740..917b98483d 100644
--- a/include/mbgl/util/platform.hpp
+++ b/include/mbgl/util/platform.hpp
@@ -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