diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-25 21:38:33 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 17:35:13 +0200 |
commit | 3b5b950c895a2db217a3e5c8105cec4498a2534e (patch) | |
tree | 2a8e054af30c9aa8039f8faa4b993e2290642184 /src/core/hle/kernel/process.cpp | |
parent | SVC: Remove global HLE Lock. (diff) | |
download | yuzu-3b5b950c895a2db217a3e5c8105cec4498a2534e.tar yuzu-3b5b950c895a2db217a3e5c8105cec4498a2534e.tar.gz yuzu-3b5b950c895a2db217a3e5c8105cec4498a2534e.tar.bz2 yuzu-3b5b950c895a2db217a3e5c8105cec4498a2534e.tar.lz yuzu-3b5b950c895a2db217a3e5c8105cec4498a2534e.tar.xz yuzu-3b5b950c895a2db217a3e5c8105cec4498a2534e.tar.zst yuzu-3b5b950c895a2db217a3e5c8105cec4498a2534e.zip |
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
-rw-r--r-- | src/core/hle/kernel/process.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 7e26a54f4..cd4b0aa60 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp @@ -212,6 +212,7 @@ void Process::UnregisterThread(const Thread* thread) { } ResultCode Process::ClearSignalState() { + SchedulerLock lock(system.Kernel()); if (status == ProcessStatus::Exited) { LOG_ERROR(Kernel, "called on a terminated process instance."); return ERR_INVALID_STATE; |