Fix unresponsive UI during SPU compilation
This commit is contained in:
@@ -432,6 +432,9 @@ void spu_cache::initialize()
|
|||||||
|
|
||||||
named_thread_group workers("SPU Worker ", worker_count, [&]() -> uint
|
named_thread_group workers("SPU Worker ", worker_count, [&]() -> uint
|
||||||
{
|
{
|
||||||
|
// Set low priority
|
||||||
|
thread_ctrl::set_native_priority(-1);
|
||||||
|
|
||||||
// Initialize compiler instances for parallel compilation
|
// Initialize compiler instances for parallel compilation
|
||||||
std::unique_ptr<spu_recompiler_base> compiler;
|
std::unique_ptr<spu_recompiler_base> compiler;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user