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.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:
610 is_phantom_mode = phantom; 610 is_phantom_mode = phantom;
611 } 611 }
612 612
613 bool HasExited() const {
614 return has_exited;
615 }
616
613private: 617private:
614 friend class GlobalScheduler; 618 friend class GlobalScheduler;
615 friend class Scheduler; 619 friend class Scheduler;
@@ -714,6 +718,7 @@ private:
714 718
715 bool will_be_terminated = false; 719 bool will_be_terminated = false;
716 bool is_phantom_mode = false; 720 bool is_phantom_mode = false;
721 bool has_exited = false;
717 722
718 bool was_running = false; 723 bool was_running = false;
719 724