Merge pull request #8457 from liamwhite/kprocess-suspend

kernel: implement KProcess suspension
This commit is contained in:
Fernando S
2022-06-16 02:41:12 +02:00
committed by GitHub
12 changed files with 204 additions and 217 deletions

View File

@ -2537,7 +2537,7 @@ static ResultCode GetThreadList(Core::System& system, u32* out_num_threads, VAdd
return ResultOutOfRange;
}
const auto* const current_process = system.Kernel().CurrentProcess();
auto* const current_process = system.Kernel().CurrentProcess();
const auto total_copy_size = out_thread_ids_size * sizeof(u64);
if (out_thread_ids_size > 0 &&