Detach VBlank and RSX Decompiler threads

Should fix exception handling in RSX Thread
This commit is contained in:
Nekotekina 2018-12-02 20:36:50 +03:00
parent 90265edfcd
commit 476090a747

View file

@ -569,7 +569,7 @@ namespace rsx
last_flip_time = get_system_time() - 1000000; last_flip_time = get_system_time() - 1000000;
named_thread vblank_thread("VBlank Thread", [this]() thread_ctrl::spawn("VBlank Thread", [this]()
{ {
const u64 start_time = get_system_time(); const u64 start_time = get_system_time();
@ -604,7 +604,7 @@ namespace rsx
} }
}); });
named_thread decompiler_thread ("RSX Decompiler Thread", [this] thread_ctrl::spawn("RSX Decompiler Thread", [this]
{ {
if (g_cfg.video.disable_asynchronous_shader_compiler) if (g_cfg.video.disable_asynchronous_shader_compiler)
{ {