summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_thread.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-09-06 03:19:30 +0200
committerbunnei <bunneidev@gmail.com>2022-10-19 04:13:34 +0200
commit57a77e9ff4b4a63c106c0ac3448a8f1452b5384c (patch)
treefda85e063fac9e098ebd7848d8de2ae3ef6b7e45 /src/core/hle/kernel/k_thread.h
parentcore: hle: kernel: Add KDynamicResourceManager. (diff)
downloadyuzu-57a77e9ff4b4a63c106c0ac3448a8f1452b5384c.tar
yuzu-57a77e9ff4b4a63c106c0ac3448a8f1452b5384c.tar.gz
yuzu-57a77e9ff4b4a63c106c0ac3448a8f1452b5384c.tar.bz2
yuzu-57a77e9ff4b4a63c106c0ac3448a8f1452b5384c.tar.lz
yuzu-57a77e9ff4b4a63c106c0ac3448a8f1452b5384c.tar.xz
yuzu-57a77e9ff4b4a63c106c0ac3448a8f1452b5384c.tar.zst
yuzu-57a77e9ff4b4a63c106c0ac3448a8f1452b5384c.zip
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
-rw-r--r--src/core/hle/kernel/k_thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h
index 9ee20208e..e2a27d603 100644
--- a/src/core/hle/kernel/k_thread.h
+++ b/src/core/hle/kernel/k_thread.h
@@ -180,6 +180,10 @@ public:
void Exit();
+ Result Terminate();
+
+ ThreadState RequestTerminate();
+
[[nodiscard]] u32 GetSuspendFlags() const {
return suspend_allowed_flags & suspend_request_flags;
}