mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
Remove vm::cleanup_unlock
This commit is contained in:
parent
96400234a8
commit
73d45f3bf0
2 changed files with 0 additions and 15 deletions
|
|
@ -379,18 +379,6 @@ namespace vm
|
|||
}
|
||||
}
|
||||
|
||||
void cleanup_unlock(cpu_thread& cpu) noexcept
|
||||
{
|
||||
for (u32 i = 0, max = g_cfg.core.ppu_threads; i < max; i++)
|
||||
{
|
||||
if (g_locks[i] == &cpu)
|
||||
{
|
||||
g_locks[i].compare_and_swap_test(&cpu, nullptr);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void temporary_unlock(cpu_thread& cpu) noexcept
|
||||
{
|
||||
if (!(cpu.state & cpu_flag::wait)) cpu.state += cpu_flag::wait;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue