mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Implement independent CPU preemptions
This commit is contained in:
parent
b9e20dc5c9
commit
ec7b18dab5
12 changed files with 358 additions and 4 deletions
|
@ -4247,7 +4247,7 @@ s64 spu_thread::get_ch_value(u32 ch)
|
|||
|
||||
spu_function_logger logger(*this, "MFC Events read");
|
||||
|
||||
state += cpu_flag::wait;
|
||||
lv2_obj::prepare_for_sleep(*this);
|
||||
|
||||
using resrv_ptr = std::add_pointer_t<const decltype(rdata)>;
|
||||
|
||||
|
@ -4943,7 +4943,7 @@ bool spu_thread::stop_and_signal(u32 code)
|
|||
return ch_in_mbox.set_values(1, CELL_EINVAL), true;
|
||||
}
|
||||
|
||||
state += cpu_flag::wait;
|
||||
lv2_obj::prepare_for_sleep(*this);
|
||||
|
||||
spu_function_logger logger(*this, "sys_spu_thread_receive_event");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue