mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-19 03:39:54 +00:00
SPU: use normal notify() thread function
Using raw_notify() everywhere was overkill.
This commit is contained in:
parent
c479d431a4
commit
2b52b4a749
rpcs3/Emu/Cell
@ -22,7 +22,7 @@ inline void try_start(spu_thread& spu)
|
||||
}).second)
|
||||
{
|
||||
spu.state -= cpu_flag::stop;
|
||||
thread_ctrl::raw_notify(static_cast<named_thread<spu_thread>&>(spu));
|
||||
thread_ctrl::notify(static_cast<named_thread<spu_thread>&>(spu));
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -3646,7 +3646,7 @@ bool spu_thread::stop_and_signal(u32 code)
|
||||
|
||||
if (thread.get() != this)
|
||||
{
|
||||
thread_ctrl::raw_notify(*thread);
|
||||
thread_ctrl::notify(*thread);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -756,7 +756,7 @@ error_code sys_spu_thread_group_start(ppu_thread& ppu, u32 id)
|
||||
if (thread && ran_threads--)
|
||||
{
|
||||
thread->state -= cpu_flag::stop;
|
||||
thread_ctrl::raw_notify(*thread);
|
||||
thread_ctrl::notify(*thread);
|
||||
}
|
||||
}
|
||||
|
||||
@ -906,7 +906,7 @@ error_code sys_spu_thread_group_resume(ppu_thread& ppu, u32 id)
|
||||
if (thread)
|
||||
{
|
||||
thread->state -= cpu_flag::suspend;
|
||||
thread_ctrl::raw_notify(*thread);
|
||||
thread_ctrl::notify(*thread);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user