summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar bunnei2021-01-21 13:00:16 -0800
committerGravatar bunnei2021-01-28 21:42:26 -0800
commit6e953f7f0294d945ba9d6f08350d5dccb0d76075 (patch)
tree92a498827c4de7dd372731eff83c66aa3f57f060 /src/core/hle/kernel/kernel.h
parenthle: kernel: k_scheduler: Use atomics for current_thread, etc. (diff)
downloadyuzu-6e953f7f0294d945ba9d6f08350d5dccb0d76075.tar.gz
yuzu-6e953f7f0294d945ba9d6f08350d5dccb0d76075.tar.xz
yuzu-6e953f7f0294d945ba9d6f08350d5dccb0d76075.zip
hle: kernel: Allocate a dummy KThread for each host thread, and use it for scheduling.
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index b92c017f6..e7c77727b 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -165,8 +165,8 @@ public:
165 /// Determines whether or not the given port is a valid named port. 165 /// Determines whether or not the given port is a valid named port.
166 bool IsValidNamedPort(NamedPortTable::const_iterator port) const; 166 bool IsValidNamedPort(NamedPortTable::const_iterator port) const;
167 167
168 /// Gets the current host_thread/guest_thread handle. 168 /// Gets the current host_thread/guest_thread pointer.
169 EmuThreadHandle GetCurrentEmuThreadID() const; 169 KThread* GetCurrentEmuThread() const;
170 170
171 /// Gets the current host_thread handle. 171 /// Gets the current host_thread handle.
172 u32 GetCurrentHostThreadID() const; 172 u32 GetCurrentHostThreadID() const;