3
0
Fork 0
forked from suyu/suyu
suyu/src/core
Lioncash 5c0408596f kernel/thread: Use a regular pointer for the owner/current process
There's no real need to use a shared pointer in these cases, and only
makes object management more fragile in terms of how easy it would be to
introduce cycles. Instead, just do the simple thing of using a regular
pointer. Much of this is just a hold-over from citra anyways.

It also doesn't make sense from a behavioral point of view for a
process' thread to prolong the lifetime of the process itself (the
process is supposed to own the thread, not the other way around).
2018-10-10 02:04:55 -04:00
..
arm kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
crypto Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
file_sys Merge pull request #1461 from lioncash/warn 2018-10-09 22:30:01 -04:00
frontend emu_window: Ensure WindowConfig members are always initialized 2018-08-14 19:36:43 -04:00
gdbstub kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
hle kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
loader patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptr 2018-10-09 14:38:03 -04:00
tracer Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
CMakeLists.txt Merge pull request #1332 from FearlessTobi/port-web-backend 2018-10-06 02:43:09 -04:00
core.cpp kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
core.h kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
core_cpu.cpp core_cpu: Make arm_interface instances a std::unique_ptr 2018-09-25 16:04:56 -04:00
core_cpu.h core_cpu: Make arm_interface instances a std::unique_ptr 2018-09-25 16:04:56 -04:00
core_timing.cpp Core::CoreTiming: add UnscheduleEventThreadsafe 2018-08-13 13:56:41 +02:00
core_timing.h Core::CoreTiming: add UnscheduleEventThreadsafe 2018-08-13 13:56:41 +02:00
core_timing_util.cpp core_timing: Split off utility functions into core_timing_util 2018-07-24 11:03:24 +01:00
core_timing_util.h core_timing: Split off utility functions into core_timing_util 2018-07-24 11:03:24 +01:00
memory.cpp kernel/process: Make data member variables private 2018-09-30 02:30:01 -04:00
memory.h memory: Dehardcode the use of fixed memory range constants 2018-09-24 22:16:03 -04:00
memory_hook.cpp memory_hook: Default virtual destructor in the cpp file 2018-05-03 08:12:16 -04:00
memory_hook.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
memory_setup.h memory: Replace all memory hooking with Special regions 2018-01-27 15:16:39 +00:00
perf_stats.cpp core/core: Replace includes with forward declarations where applicable 2018-08-31 16:30:14 -04:00
perf_stats.h core/core: Replace includes with forward declarations where applicable 2018-08-31 16:30:14 -04:00
settings.cpp video_core; Get rid of global g_toggle_framelimit_enabled variable 2018-08-10 19:00:09 -04:00
settings.h settings: Add program_args string setting 2018-10-07 14:32:05 -04:00
telemetry_session.cpp telemetry_session: Add missing includes 2018-10-09 14:51:39 -04:00
telemetry_session.h telemetry_session: Remove doxygen comment for a non-existent parameter 2018-10-09 14:52:10 -04:00