mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-15 04:05:42 +01:00
Fix RSX Offloader thread exit (MTRSX fix)
Hangs on exit if MTRSX is enabled.
This commit is contained in:
parent
05bb6e1545
commit
f335d034fc
|
|
@ -34,7 +34,7 @@ namespace rsx
|
||||||
thread_ctrl::set_thread_affinity_mask(thread_ctrl::get_affinity_mask(thread_class::rsx));
|
thread_ctrl::set_thread_affinity_mask(thread_ctrl::get_affinity_mask(thread_class::rsx));
|
||||||
}
|
}
|
||||||
|
|
||||||
while (thread_ctrl::state() != thread_state::finished)
|
while (thread_ctrl::state() != thread_state::aborting)
|
||||||
{
|
{
|
||||||
for (auto&& job : m_work_queue.pop_all())
|
for (auto&& job : m_work_queue.pop_all())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue