mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Implement cpu_flag::temp flag
Accompanies wait flag, indicating that it was set in limited conditions. Such condition don't allow thread to terminate after its removal.
This commit is contained in:
parent
18ca3ed449
commit
130a0ef20e
4 changed files with 20 additions and 11 deletions
|
@ -1219,7 +1219,7 @@ static T ppu_load_acquire_reservation(ppu_thread& ppu, u32 addr)
|
|||
}
|
||||
else
|
||||
{
|
||||
ppu.state += cpu_flag::wait;
|
||||
ppu.state += cpu_flag::wait + cpu_flag::temp;
|
||||
std::this_thread::yield();
|
||||
ppu.check_state();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue