mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Implement priorities for cpu_thread::suspend_all tasks
Give PUTLLUC increased priority.
This commit is contained in:
parent
a90801e2aa
commit
f5c575961f
3 changed files with 25 additions and 6 deletions
|
@ -2200,7 +2200,8 @@ void do_cell_atomic_128_store(u32 addr, const void* to_write)
|
|||
|
||||
if (result == 0)
|
||||
{
|
||||
cpu_thread::suspend_all(cpu, [&]
|
||||
// Execute with increased priority
|
||||
cpu_thread::suspend_all<+1>(cpu, [&]
|
||||
{
|
||||
mov_rdata(vm::_ref<spu_rdata_t>(addr), *static_cast<const spu_rdata_t*>(to_write));
|
||||
vm::reservation_acquire(addr, 128) += 127;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue