[Qt] Add a no-op thread helper for other platforms

This commit is contained in:
Thiago Marcos P. Santos
2016-08-05 23:39:35 +03:00
committed by Thiago Marcos P. Santos
parent a24d89d9f8
commit 65118296eb

View File

@@ -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