mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
idm: Fix minor race in cellVdecClose, sys_raw_spu_destroy...
Because of racing removal of IDs vs the shared pointer owned object
This commit is contained in:
parent
efe6e1eb0a
commit
c16124f0d9
6 changed files with 33 additions and 20 deletions
|
@ -39,7 +39,7 @@ void lv2_int_serv::join()
|
|||
thread_ctrl::notify(*thread);
|
||||
(*thread)();
|
||||
|
||||
idm::remove<named_thread<ppu_thread>>(thread->id);
|
||||
idm::remove_verify<named_thread<ppu_thread>>(thread->id, thread);
|
||||
}
|
||||
|
||||
error_code sys_interrupt_tag_destroy(ppu_thread& ppu, u32 intrtag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue