summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-04-18 03:46:46 +0200
committerGitHub <noreply@github.com>2019-04-18 03:46:46 +0200
commit83b830eb2f80de8073a7304ab6270621d062d0b2 (patch)
tree40c965879105facd5deb0c65262d993ddbf6c30f /src/core/hle/kernel/thread.h
parentMerge pull request #2318 from ReinUsesLisp/sampler-cache (diff)
parentsvc: Specify handle value in thread's name (diff)
downloadyuzu-83b830eb2f80de8073a7304ab6270621d062d0b2.tar
yuzu-83b830eb2f80de8073a7304ab6270621d062d0b2.tar.gz
yuzu-83b830eb2f80de8073a7304ab6270621d062d0b2.tar.bz2
yuzu-83b830eb2f80de8073a7304ab6270621d062d0b2.tar.lz
yuzu-83b830eb2f80de8073a7304ab6270621d062d0b2.tar.xz
yuzu-83b830eb2f80de8073a7304ab6270621d062d0b2.tar.zst
yuzu-83b830eb2f80de8073a7304ab6270621d062d0b2.zip
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:
std::string GetName() const override {
return name;
}
+
+ void SetName(std::string new_name) {
+ name = std::move(new_name);
+ }
+
std::string GetTypeName() const override {
return "Thread";
}
@@ -339,10 +344,6 @@ public:
arb_wait_address = address;
}
- void SetGuestHandle(Handle handle) {
- guest_handle = handle;
- }
-
bool HasWakeupCallback() const {
return wakeup_callback != nullptr;
}
@@ -436,9 +437,6 @@ private:
/// If waiting for an AddressArbiter, this is the address being waited on.
VAddr arb_wait_address{0};
- /// Handle used by guest emulated application to access this thread
- Handle guest_handle = 0;
-
/// Handle used as userdata to reference this object when inserting into the CoreTiming queue.
Handle callback_handle = 0;