diff options
author | bunnei <bunneidev@gmail.com> | 2022-01-15 01:33:24 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-01-15 01:44:14 +0100 |
commit | d8b3f665db753e526aa06db5314fb34f0d3e367f (patch) | |
tree | 5ec8fd7d2caa29578139c603e9c5236a7c404de7 /src/core/hle/kernel/k_process.h | |
parent | core: hle: kernel: KThread: Replace Suspend with UpdateState & various updates. (diff) | |
download | yuzu-d8b3f665db753e526aa06db5314fb34f0d3e367f.tar yuzu-d8b3f665db753e526aa06db5314fb34f0d3e367f.tar.gz yuzu-d8b3f665db753e526aa06db5314fb34f0d3e367f.tar.bz2 yuzu-d8b3f665db753e526aa06db5314fb34f0d3e367f.tar.lz yuzu-d8b3f665db753e526aa06db5314fb34f0d3e367f.tar.xz yuzu-d8b3f665db753e526aa06db5314fb34f0d3e367f.tar.zst yuzu-d8b3f665db753e526aa06db5314fb34f0d3e367f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_process.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h index e7c8b5838..c2a672021 100644 --- a/src/core/hle/kernel/k_process.h +++ b/src/core/hle/kernel/k_process.h @@ -15,6 +15,7 @@ #include "core/hle/kernel/k_condition_variable.h" #include "core/hle/kernel/k_handle_table.h" #include "core/hle/kernel/k_synchronization_object.h" +#include "core/hle/kernel/k_worker_task.h" #include "core/hle/kernel/process_capability.h" #include "core/hle/kernel/slab_helpers.h" #include "core/hle/result.h" @@ -62,8 +63,7 @@ enum class ProcessStatus { DebugBreak, }; -class KProcess final - : public KAutoObjectWithSlabHeapAndContainer<KProcess, KSynchronizationObject> { +class KProcess final : public KAutoObjectWithSlabHeapAndContainer<KProcess, KWorkerTask> { KERNEL_AUTOOBJECT_TRAITS(KProcess, KSynchronizationObject); public: @@ -345,6 +345,8 @@ public: bool IsSignaled() const override; + void DoWorkerTaskImpl(); + void PinCurrentThread(s32 core_id); void UnpinCurrentThread(s32 core_id); void UnpinThread(KThread* thread); |