lower thread priority of worker threads

This commit is contained in:
Konstantin Käfer
2015-04-28 18:23:32 +02:00
parent 7390062c45
commit 27d8e82e1c
12 changed files with 48 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ namespace algo = boost::algorithm;
namespace mbgl {
DefaultFileSource::DefaultFileSource(FileCache* cache, const std::string& root)
: thread(util::make_unique<util::Thread<Impl>>("FileSource", cache, root)) {
: thread(util::make_unique<util::Thread<Impl>>("FileSource", util::ThreadPriority::Low, cache, root)) {
}
DefaultFileSource::~DefaultFileSource() {