diff options
| author | bunnei <bunneidev@gmail.com> | 2022-01-17 16:41:06 -0800 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2022-01-20 17:08:00 -0800 |
| commit | f6cbb14dce48bc4ae112a7d5ae2bbca476d3457e (patch) | |
| tree | 8f993e94c63848f4b4f72392a83d119be9fd351d /src/core/hle/kernel/k_thread.h | |
| parent | e781f6e7676351302eba229bb940ed4923b32f3b (diff) | |
hle: kernel: KThread: Rename thread_type_for_debugging -> thread_type.
- This will be used to ensure that we do not schedule dummy threads.
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
| -rw-r--r-- | src/core/hle/kernel/k_thread.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index cc427f6cf..86d4b7c55 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -553,8 +553,8 @@ public: return wait_reason_for_debugging; } - [[nodiscard]] ThreadType GetThreadTypeForDebugging() const { - return thread_type_for_debugging; + [[nodiscard]] ThreadType GetThreadType() const { + return thread_type; } void SetWaitObjectsForDebugging(const std::span<KSynchronizationObject*>& objects) { @@ -753,12 +753,12 @@ private: // For emulation std::shared_ptr<Common::Fiber> host_context{}; bool is_single_core{}; + ThreadType thread_type{}; // For debugging std::vector<KSynchronizationObject*> wait_objects_for_debugging; VAddr mutex_wait_address_for_debugging{}; ThreadWaitReasonForDebugging wait_reason_for_debugging{}; - ThreadType thread_type_for_debugging{}; public: using ConditionVariableThreadTreeType = ConditionVariableThreadTree; |
