summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar Subv2015-05-11 09:15:10 -0500
committerGravatar Subv2015-05-11 09:15:10 -0500
commit41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57 (patch)
treeb9500ee328f5b918edca38251878c4f346a30807 /src/core/hle/kernel/thread.h
parentMerge pull request #740 from yuriks/gsp-shmem (diff)
downloadyuzu-41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57.tar.gz
yuzu-41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57.tar.xz
yuzu-41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57.zip
Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 6891c8c2f..c5f4043ca 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -45,6 +45,7 @@ enum ThreadStatus {
45namespace Kernel { 45namespace Kernel {
46 46
47class Mutex; 47class Mutex;
48class Process;
48 49
49class Thread final : public WaitObject { 50class Thread final : public WaitObject {
50public: 51public:
@@ -161,6 +162,7 @@ public:
161 /// Mutexes currently held by this thread, which will be released when it exits. 162 /// Mutexes currently held by this thread, which will be released when it exits.
162 boost::container::flat_set<SharedPtr<Mutex>> held_mutexes; 163 boost::container::flat_set<SharedPtr<Mutex>> held_mutexes;
163 164
165 SharedPtr<Process> owner_process; ///< Process that owns this thread
164 std::vector<SharedPtr<WaitObject>> wait_objects; ///< Objects that the thread is waiting on 166 std::vector<SharedPtr<WaitObject>> wait_objects; ///< Objects that the thread is waiting on
165 VAddr wait_address; ///< If waiting on an AddressArbiter, this is the arbitration address 167 VAddr wait_address; ///< If waiting on an AddressArbiter, this is the arbitration address
166 bool wait_all; ///< True if the thread is waiting on all objects before resuming 168 bool wait_all; ///< True if the thread is waiting on all objects before resuming