diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-08-05 23:39:35 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-01-24 11:36:59 +0200 |
commit | 0333b53ae3791e11a703012b7f352f6e1ec325d7 (patch) | |
tree | d084c8721b80691156ecec034b0a7021874746e3 | |
parent | ab88bb7f09d28aff5441102b6e68af94e7015c8f (diff) | |
download | qtlocation-mapboxgl-0333b53ae3791e11a703012b7f352f6e1ec325d7.tar.gz |
[Qt] Add a no-op thread helper for other platforms
-rw-r--r-- | platform/qt/src/thread.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/platform/qt/src/thread.cpp b/platform/qt/src/thread.cpp new file mode 100644 index 0000000000..ade3629b63 --- /dev/null +++ b/platform/qt/src/thread.cpp @@ -0,0 +1,19 @@ +#include <mbgl/util/platform.hpp> + +#include <string> + +namespace mbgl { +namespace platform { + +std::string getCurrentThreadName() { + return "unknown"; +} + +void setCurrentThreadName(const std::string&) { +} + +void makeThreadLowPriority() { +} + +} // namespace platform +} // namespace mbgl |