|
|
@ -553,8 +553,8 @@ public: |
|
|
return wait_reason_for_debugging; |
|
|
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) { |
|
|
void SetWaitObjectsForDebugging(const std::span<KSynchronizationObject*>& objects) { |
|
|
@ -753,12 +753,12 @@ private: |
|
|
// For emulation |
|
|
// For emulation |
|
|
std::shared_ptr<Common::Fiber> host_context{}; |
|
|
std::shared_ptr<Common::Fiber> host_context{}; |
|
|
bool is_single_core{}; |
|
|
bool is_single_core{}; |
|
|
|
|
|
ThreadType thread_type{}; |
|
|
|
|
|
|
|
|
// For debugging |
|
|
// For debugging |
|
|
std::vector<KSynchronizationObject*> wait_objects_for_debugging; |
|
|
std::vector<KSynchronizationObject*> wait_objects_for_debugging; |
|
|
VAddr mutex_wait_address_for_debugging{}; |
|
|
VAddr mutex_wait_address_for_debugging{}; |
|
|
ThreadWaitReasonForDebugging wait_reason_for_debugging{}; |
|
|
ThreadWaitReasonForDebugging wait_reason_for_debugging{}; |
|
|
ThreadType thread_type_for_debugging{}; |
|
|
|
|
|
|
|
|
|
|
|
public: |
|
|
public: |
|
|
using ConditionVariableThreadTreeType = ConditionVariableThreadTree; |
|
|
using ConditionVariableThreadTreeType = ConditionVariableThreadTree; |
|
|
|