diff options
| author | 2015-05-11 17:44:26 -0700 | |
|---|---|---|
| committer | 2015-05-11 17:44:26 -0700 | |
| commit | 820b97787c9bdfaed018558f33b8d3542e6d6b1f (patch) | |
| tree | f2050259d4a9584aa3000335e91b7fc210ec1947 /src/core/hle/kernel/thread.h | |
| parent | Merge pull request #754 from purpasmart96/nwm_typo_fix (diff) | |
| parent | fixup! (diff) | |
| download | yuzu-820b97787c9bdfaed018558f33b8d3542e6d6b1f.tar.gz yuzu-820b97787c9bdfaed018558f33b8d3542e6d6b1f.tar.xz yuzu-820b97787c9bdfaed018558f33b8d3542e6d6b1f.zip | |
Merge pull request #750 from Subv/process_svc
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index afdaf8511..1d4d010fe 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -45,6 +45,7 @@ enum ThreadStatus { | |||
| 45 | namespace Kernel { | 45 | namespace Kernel { |
| 46 | 46 | ||
| 47 | class Mutex; | 47 | class Mutex; |
| 48 | class Process; | ||
| 48 | 49 | ||
| 49 | class Thread final : public WaitObject { | 50 | class Thread final : public WaitObject { |
| 50 | public: | 51 | public: |
| @@ -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 |