diff options
| author | bunnei <bunneidev@gmail.com> | 2019-11-25 18:28:48 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2019-11-28 12:01:53 -0500 |
| commit | c3d3b173d39b7c12fa9b3d5d34040e9377f2888e (patch) | |
| tree | 61ff05239fe2b3d08bcf775f1528263cffc9aff4 /src/core/hle/kernel/hle_ipc.h | |
| parent | e3ee017e91ef4d713f1af8cb60c5157e40d43f18 (diff) | |
kernel: Implement a more accurate IPC dispatch.
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.h')
| -rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index dab37ba0d..050ad8fd7 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h @@ -264,6 +264,18 @@ public: std::string Description() const; + Thread& GetThread() { + return *thread; + } + + const Thread& GetThread() const { + return *thread; + } + + bool IsThreadWaiting() const { + return is_thread_waiting; + } + private: void ParseCommandBuffer(const HandleTable& handle_table, u32_le* src_cmdbuf, bool incoming); @@ -290,6 +302,7 @@ private: u32_le command{}; std::vector<std::shared_ptr<SessionRequestHandler>> domain_request_handlers; + bool is_thread_waiting{}; }; } // namespace Kernel |
