mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
Minor optimization
This commit is contained in:
parent
78703cfe47
commit
1ede0f4706
4 changed files with 25 additions and 2 deletions
|
@ -107,6 +107,14 @@ namespace vm
|
|||
}
|
||||
}
|
||||
|
||||
void temporary_unlock() noexcept
|
||||
{
|
||||
if (auto cpu = get_current_cpu_thread())
|
||||
{
|
||||
temporary_unlock(*cpu);
|
||||
}
|
||||
}
|
||||
|
||||
reader_lock::reader_lock()
|
||||
: locked(true)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue