Make KernelState::TerminateTitle try to terminate XThreads safely.

This commit is contained in:
Dr. Chat
2015-12-06 21:02:12 -06:00
committed by Ben Vanik
parent 3007a98d2d
commit 24f8295daa
4 changed files with 16 additions and 5 deletions

View File

@@ -142,6 +142,7 @@ class KernelState {
}
// Terminates a title: Unloads all modules, and kills all guest threads.
// This DOES NOT RETURN if called from a guest thread!
void TerminateTitle(bool from_guest_thread = false);
void RegisterThread(XThread* thread);