diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-04-28 18:23:32 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-05-04 17:33:05 +0200 |
commit | 27d8e82e1ce7c6210a33f100cfb4f157ea9583d2 (patch) | |
tree | e97de81f16743ac7e527f796adc416cdc91e911c /include | |
parent | 7390062c4589877dfc51e0b6f84e2fd5446b7a96 (diff) | |
download | qtlocation-mapboxgl-27d8e82e1ce7c6210a33f100cfb4f157ea9583d2.tar.gz |
lower thread priority of worker threads
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/platform/platform.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/platform/platform.hpp b/include/mbgl/platform/platform.hpp index cd87e2256d..f828af37f4 100644 --- a/include/mbgl/platform/platform.hpp +++ b/include/mbgl/platform/platform.hpp @@ -21,6 +21,9 @@ const std::string &applicationRoot(); // Returns the path to the asset location. const std::string &assetRoot(); +// Makes the current thread low priority. +void makeThreadLowPriority(); + // Shows an alpha image with the specified dimensions in a named window. void showDebugImage(std::string name, const char *data, size_t width, size_t height); |