summaryrefslogtreecommitdiff
path: root/platform/qt
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-08-05 23:39:35 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-07-07 18:10:06 +0300
commit65118296eb4b17f3abdf5613d2f5d07fb83df74c (patch)
treeb30d19510c2f22320b3060e42e5b2a1f57e22bdf /platform/qt
parenta24d89d9f8499123a03376e58da0c4d6ebe43261 (diff)
downloadqtlocation-mapboxgl-65118296eb4b17f3abdf5613d2f5d07fb83df74c.tar.gz
[Qt] Add a no-op thread helper for other platforms
Diffstat (limited to 'platform/qt')
-rw-r--r--platform/qt/src/thread.cpp19
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