[core] option to perform platform specific operations when creating/destroying core threads
This commit is contained in:
committed by
Łukasz Paczos
parent
e79080771b
commit
7d6255c860
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user