ryujinx/Ryujinx.HLE/HOS/Kernel/Process
Thog 55c956e2ec Make HLE disposable safely (#850)
* Make HLE disposable safely

This fix the oldest issue with the HLE code: the kernel side
disposability.

Changelog:

- Implement KProcess::UnpauseAndTerminateAllThreadsExcept, KThread::Terminate, KThread::TerminateCurrentProcess, KThread::PrepareForTermiation and the svc post handler accurately.
- Implement svcTerminateProcess and svcExitProcess. (both untested)
- Fix KHandleTable::Destroy not decrementing refcount of all objects stored in the table.
- Spawn a custom KProcess with the maximum priority to terminate every guest KProcess. (terminating kernel emulation safely)
- General system stability improvements to enhance the user's experience.

* Fix a typo in a comment in KProcess.cs

* Address gdk's comments
2019-12-26 02:50:17 +01:00
..
HleProcessDebugger.cs
KContextIdManager.cs
KHandleEntry.cs
KHandleTable.cs Make HLE disposable safely (#850) 2019-12-26 02:50:17 +01:00
KProcess.cs Make HLE disposable safely (#850) 2019-12-26 02:50:17 +01:00
KProcessCapabilities.cs
KTlsPageInfo.cs
KTlsPageManager.cs
ProcessCreationInfo.cs
ProcessState.cs