LV2: Move nearly all notifications out of all mutex scopes including IDM

This commit is contained in:
Eladash 2022-08-04 13:13:51 +03:00 committed by Ivan
parent b55a052a22
commit 34bae90820
19 changed files with 181 additions and 151 deletions

View file

@ -1362,6 +1362,7 @@ void spu_thread::cpu_return()
if (ensure(group->running)-- == 1)
{
{
lv2_obj::notify_all_t notify;
std::lock_guard lock(group->mutex);
group->run_state = SPU_THREAD_GROUP_STATUS_INITIALIZED;
@ -4269,6 +4270,8 @@ bool spu_thread::set_ch_value(u32 ch, u32 value)
state += cpu_flag::wait;
lv2_obj::notify_all_t notify;
const u32 code = value >> 24;
{
if (code < 64)