mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 19:55:46 +00:00
kernel: make current thread pointer thread local
This commit is contained in:
parent
4548e74d3f
commit
83f1ecb73b
13 changed files with 69 additions and 52 deletions
|
@ -226,6 +226,9 @@ public:
|
|||
/// Gets the current host_thread/guest_thread pointer.
|
||||
KThread* GetCurrentEmuThread() const;
|
||||
|
||||
/// Sets the current guest_thread pointer.
|
||||
void SetCurrentEmuThread(KThread* thread);
|
||||
|
||||
/// Gets the current host_thread handle.
|
||||
u32 GetCurrentHostThreadID() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue