summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-03-07 19:16:25 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 17:35:58 +0200
commit5974e3ea33e12e7abd813704e5b895003ba83555 (patch)
treea72710344f6436cf5bd91eab3424b89188123285 /src/core/hle/kernel/thread.h
parentGeneral: Move ARM_Interface into Threads. (diff)
downloadyuzu-5974e3ea33e12e7abd813704e5b895003ba83555.tar
yuzu-5974e3ea33e12e7abd813704e5b895003ba83555.tar.gz
yuzu-5974e3ea33e12e7abd813704e5b895003ba83555.tar.bz2
yuzu-5974e3ea33e12e7abd813704e5b895003ba83555.tar.lz
yuzu-5974e3ea33e12e7abd813704e5b895003ba83555.tar.xz
yuzu-5974e3ea33e12e7abd813704e5b895003ba83555.tar.zst
yuzu-5974e3ea33e12e7abd813704e5b895003ba83555.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/thread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index c08fc3a89..f651d7822 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -610,6 +610,10 @@ public:
is_phantom_mode = phantom;
}
+ bool HasExited() const {
+ return has_exited;
+ }
+
private:
friend class GlobalScheduler;
friend class Scheduler;
@@ -714,6 +718,7 @@ private:
bool will_be_terminated = false;
bool is_phantom_mode = false;
+ bool has_exited = false;
bool was_running = false;