summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 32026d7f0..411a73b49 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -102,6 +102,11 @@ public:
102 std::string GetName() const override { 102 std::string GetName() const override {
103 return name; 103 return name;
104 } 104 }
105
106 void SetName(std::string new_name) {
107 name = std::move(new_name);
108 }
109
105 std::string GetTypeName() const override { 110 std::string GetTypeName() const override {
106 return "Thread"; 111 return "Thread";
107 } 112 }
@@ -339,10 +344,6 @@ public:
339 arb_wait_address = address; 344 arb_wait_address = address;
340 } 345 }
341 346
342 void SetGuestHandle(Handle handle) {
343 guest_handle = handle;
344 }
345
346 bool HasWakeupCallback() const { 347 bool HasWakeupCallback() const {
347 return wakeup_callback != nullptr; 348 return wakeup_callback != nullptr;
348 } 349 }
@@ -436,9 +437,6 @@ private:
436 /// If waiting for an AddressArbiter, this is the address being waited on. 437 /// If waiting for an AddressArbiter, this is the address being waited on.
437 VAddr arb_wait_address{0}; 438 VAddr arb_wait_address{0};
438 439
439 /// Handle used by guest emulated application to access this thread
440 Handle guest_handle = 0;
441
442 /// Handle used as userdata to reference this object when inserting into the CoreTiming queue. 440 /// Handle used as userdata to reference this object when inserting into the CoreTiming queue.
443 Handle callback_handle = 0; 441 Handle callback_handle = 0;
444 442