core: hle: kernel: k_thread: Implement thread termination DPC.

This commit is contained in:
bunnei
2022-09-05 18:19:30 -07:00
parent d02ccfb15d
commit 57a77e9ff4
5 changed files with 99 additions and 1 deletions

View File

@ -180,6 +180,10 @@ public:
void Exit();
Result Terminate();
ThreadState RequestTerminate();
[[nodiscard]] u32 GetSuspendFlags() const {
return suspend_allowed_flags & suspend_request_flags;
}