mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
atomic.cpp: improvements.
Reduced static memory amount for waitable atomics. Allow notifier to skip notifications if wait/notify masks don't overlap. Improve raw_notify to wake up the thread by its id, add thread_id arg. Add optional mask argument to notify_one() and notify_all().
This commit is contained in:
parent
b66628baca
commit
5248240e10
7 changed files with 418 additions and 249 deletions
|
@ -1842,7 +1842,7 @@ static bool ppu_store_reservation(ppu_thread& ppu, u32 addr, u64 reg_value)
|
|||
return false;
|
||||
}())
|
||||
{
|
||||
res.notify_all();
|
||||
res.notify_all(-128);
|
||||
|
||||
if (addr == ppu.last_faddr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue