yuzu-android/src/core
Yuri Kunde Schlesner 52f58e64ef Kernel: Make WaitObjects share ownership of Threads waiting on them
During normal operation, a thread waiting on an WaitObject and the
object hold mutual references to each other for the duration of the
wait.

If a process is forcefully terminated (The CTR kernel has a SVC to do
this, TerminateProcess, though no equivalent exists for threads.) its
threads would also be stopped and destroyed, leaving dangling pointers
in the WaitObjects.

The solution is to simply have the Thread remove itself from WaitObjects
when it is stopped. The vector of Threads in WaitObject has also been
changed to hold SharedPtrs, just in case. (Better to have a reference
cycle than a crash.)
2015-02-02 15:37:08 -02:00
..
arm Merge pull request #525 from lioncash/armwarn 2015-02-01 00:28:50 -05:00
file_sys Services: Stubbed more services. 2015-01-24 15:44:40 -05:00
hle Kernel: Make WaitObjects share ownership of Threads waiting on them 2015-02-02 15:37:08 -02:00
hw GPU: Fix buffer overrun in Display Transfers 2015-01-14 05:20:14 -02:00
loader Merge pull request #514 from rohit-n/fix-warnings 2015-02-01 00:31:06 -05:00
CMakeLists.txt Explicitly instantiate constructors/destructors for Kernel objects 2015-02-02 15:37:07 -02:00
core_timing.cpp core_timing: Mark several variables as static 2015-01-20 13:49:10 -05:00
core_timing.h CoreTiming: Ported the CoreTiming namespace from PPSSPP 2015-01-07 15:08:35 -05:00
core.cpp arm: Adios armemu 2015-01-31 20:43:03 -05:00
core.h arm: Clean up ARMul_State 2015-01-31 21:55:34 -05:00
mem_map_funcs.cpp Add some support for the shared page (currently 3d slider is implemented) 2015-01-15 22:16:13 -05:00
mem_map.cpp MemMap: Add support for DSP Read & Writes in the memory map 2014-12-29 19:35:06 -08:00
mem_map.h Move VAddr/PAddr typedefs to kernel.h 2015-01-30 11:47:01 -02:00
settings.cpp License change 2014-12-20 21:20:24 -08:00
settings.h arm: Adios armemu 2015-01-31 20:43:03 -05:00
system.cpp Core: Fixed a crash and removed some unused variables. 2015-01-08 21:49:41 -05:00
system.h License change 2014-12-20 21:20:24 -08:00