mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
SMutex eliminated
This commit is contained in:
parent
0fb092f2a5
commit
b2de24db73
48 changed files with 768 additions and 907 deletions
|
@ -244,12 +244,6 @@ u32 adecOpen(AudioDecoder* data)
|
|||
break;
|
||||
}
|
||||
|
||||
//if (!adec.job.GetCountUnsafe() && adec.is_running)
|
||||
//{
|
||||
// std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
// continue;
|
||||
//}
|
||||
|
||||
if (!adec.job.Pop(task, &adec.is_closed))
|
||||
{
|
||||
break;
|
||||
|
@ -576,7 +570,7 @@ int cellAdecClose(u32 handle)
|
|||
cellAdec->Warning("cellAdecClose(%d) aborted", handle);
|
||||
break;
|
||||
}
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1)); // hack
|
||||
}
|
||||
|
||||
if (adec->adecCb) Emu.GetCPU().RemoveThread(adec->adecCb->GetId());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue