mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Minor idm::remove_verify usage optimization in sys_interrupty.cpp
Avoid copying a shared ptr, create a weak ptr instead.
This commit is contained in:
parent
74c05ec5ee
commit
4e6934c9dc
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ void lv2_int_serv::join()
|
|||
thread_ctrl::notify(*thread);
|
||||
(*thread)();
|
||||
|
||||
idm::remove_verify<named_thread<ppu_thread>>(thread->id, thread);
|
||||
idm::remove_verify<named_thread<ppu_thread>>(thread->id, static_cast<std::weak_ptr<named_thread<ppu_thread>>>(thread));
|
||||
}
|
||||
|
||||
error_code sys_interrupt_tag_destroy(ppu_thread& ppu, u32 intrtag)
|
||||
|
|
Loading…
Add table
Reference in a new issue