[core] option to perform platform specific operations when creating/destroying core threads

This commit is contained in:
Łukasz Paczos
2019-05-21 12:45:01 +02:00
committed by Łukasz Paczos
parent e79080771b
commit 7d6255c860
8 changed files with 48 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#include <mbgl/util/logging.hpp>
#include <mbgl/util/platform.hpp>
#include <mbgl/platform/thread.hpp>
#include <sys/prctl.h>
#include <sys/resource.h>
@@ -33,5 +34,11 @@ void makeThreadLowPriority() {
setpriority(PRIO_PROCESS, 0, 19);
}
void attachThread() {
}
void detachThread() {
}
} // namespace platform
} // namespace mbgl