[Qt] Add a no-op thread helper for other platforms
This commit is contained in:
committed by
Thiago Marcos P. Santos
parent
a24d89d9f8
commit
65118296eb
19
platform/qt/src/thread.cpp
Normal file
19
platform/qt/src/thread.cpp
Normal 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
|
||||
Reference in New Issue
Block a user