hle: kernel: Allocate a dummy KThread for each host thread, and use it for scheduling.

This commit is contained in:
bunnei 2021-01-21 13:00:16 -08:00
parent 37f74d8741
commit 6e953f7f02
8 changed files with 45 additions and 43 deletions

View file

@ -165,8 +165,8 @@ public:
/// Determines whether or not the given port is a valid named port.
bool IsValidNamedPort(NamedPortTable::const_iterator port) const;
/// Gets the current host_thread/guest_thread handle.
EmuThreadHandle GetCurrentEmuThreadID() const;
/// Gets the current host_thread/guest_thread pointer.
KThread* GetCurrentEmuThread() const;
/// Gets the current host_thread handle.
u32 GetCurrentHostThreadID() const;