citra/src/core/hle
Weiyi Wang 3a7a686fa9 Kernel/SharedMemory: make owner_process a raw pointer
To break a circular reference formed by process->handle_table->shared_memory->process. Since SharedMemory uses its owner process in the destructor, which is not kept alive by SharedMemory any more, we need to make sure that the lifetime of process is longer than the shared memory. To partially resolve this, Process now explicitly releases shared memory first in its destructor. This is with the assumtion that there is no inter-process reference to shared memory on exit, which is not true when we introduce more multi-process emulation. A TODO is left there for this, as more RE needs to be done on how 3DS handles this situation
2019-01-29 11:18:51 -05:00
..
applets Merge pull request #4279 from FearlessTobi/better-mii-stub 2018-12-01 19:41:21 -05:00
kernel Kernel/SharedMemory: make owner_process a raw pointer 2019-01-29 11:18:51 -05:00
service Merge pull request #4579 from xperia64/3d_slider 2019-01-23 20:23:55 -05:00
ipc_helpers.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
ipc.h Kernel/Thread: move thread queue, current thread, and scheduling related function into the manager 2018-10-26 16:07:11 -04:00
lock.cpp hle/lock: Remove #pragma once in cpp file 2017-10-21 13:59:14 +01:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h ResultCode: use default copy assignment 2018-11-12 13:59:34 -05:00
romfs.cpp RomFSFile: Default constructor 2018-07-26 13:10:56 +02:00
romfs.h RomFSFile: Default constructor 2018-07-26 13:10:56 +02:00