From 41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57 Mon Sep 17 00:00:00 2001 From: Subv Date: Mon, 11 May 2015 09:15:10 -0500 Subject: Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread --- src/core/hle/kernel/thread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/hle/kernel/thread.h') diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 6891c8c2..c5f4043c 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -45,6 +45,7 @@ enum ThreadStatus { namespace Kernel { class Mutex; +class Process; class Thread final : public WaitObject { public: @@ -161,6 +162,7 @@ public: /// Mutexes currently held by this thread, which will be released when it exits. boost::container::flat_set> held_mutexes; + SharedPtr owner_process; ///< Process that owns this thread std::vector> wait_objects; ///< Objects that the thread is waiting on VAddr wait_address; ///< If waiting on an AddressArbiter, this is the arbitration address bool wait_all; ///< True if the thread is waiting on all objects before resuming -- cgit v1.2.3