[core] Make the AssetFileSource thread low priority
This commit is contained in:
@@ -100,7 +100,7 @@ private:
|
||||
|
||||
AssetFileSource::AssetFileSource(const std::string& root)
|
||||
: thread(std::make_unique<util::Thread<Impl>>(
|
||||
util::ThreadContext{"AssetFileSource"},
|
||||
util::ThreadContext{"AssetFileSource", util::ThreadPriority::Low},
|
||||
root)) {
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ private:
|
||||
|
||||
AssetFileSource::AssetFileSource(const std::string& root)
|
||||
: thread(std::make_unique<util::Thread<Impl>>(
|
||||
util::ThreadContext{"AssetFileSource"},
|
||||
util::ThreadContext{"AssetFileSource", util::ThreadPriority::Low},
|
||||
root)) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user