diff options
author | bunnei <bunneidev@gmail.com> | 2021-01-25 07:54:37 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-01-29 06:42:26 +0100 |
commit | 3856564727e3efcf85fb0c1e5431cab22d818370 (patch) | |
tree | 589d4322c34c6ae15184b322b9302c33f1c34087 /src/core/hle/kernel/process.cpp | |
parent | hle: kernel: threading: Fix bug with host thread naming. (diff) | |
download | yuzu-3856564727e3efcf85fb0c1e5431cab22d818370.tar yuzu-3856564727e3efcf85fb0c1e5431cab22d818370.tar.gz yuzu-3856564727e3efcf85fb0c1e5431cab22d818370.tar.bz2 yuzu-3856564727e3efcf85fb0c1e5431cab22d818370.tar.lz yuzu-3856564727e3efcf85fb0c1e5431cab22d818370.tar.xz yuzu-3856564727e3efcf85fb0c1e5431cab22d818370.tar.zst yuzu-3856564727e3efcf85fb0c1e5431cab22d818370.zip |
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
-rw-r--r-- | src/core/hle/kernel/process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 9f4583b49..0edbfc4cc 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp @@ -138,7 +138,7 @@ std::shared_ptr<ResourceLimit> Process::GetResourceLimit() const { void Process::IncrementThreadCount() { ASSERT(num_threads >= 0); - ++num_created_threads; + num_created_threads++; if (const auto count = ++num_threads; count > peak_num_threads) { peak_num_threads = count; @@ -443,7 +443,7 @@ bool Process::IsSignaled() const { Process::Process(Core::System& system) : KSynchronizationObject{system.Kernel()}, page_table{std::make_unique<Memory::PageTable>(system)}, handle_table{system.Kernel()}, - address_arbiter{system}, condition_var{system}, system{system} {} + address_arbiter{system}, condition_var{system}, state_lock{system.Kernel()}, system{system} {} Process::~Process() = default; |