diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-14 14:30:53 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2020-02-22 16:18:06 +0100 |
commit | 179bafa7cb1efae5405d38ea9b98dc6b3e1ec756 (patch) | |
tree | e26bc705bf9446b335c29e086b84c61916f44f32 /src/core/hle/kernel/thread.h | |
parent | Kernel: Make global scheduler depend on KernelCore (diff) | |
download | yuzu-179bafa7cb1efae5405d38ea9b98dc6b3e1ec756.tar yuzu-179bafa7cb1efae5405d38ea9b98dc6b3e1ec756.tar.gz yuzu-179bafa7cb1efae5405d38ea9b98dc6b3e1ec756.tar.bz2 yuzu-179bafa7cb1efae5405d38ea9b98dc6b3e1ec756.tar.lz yuzu-179bafa7cb1efae5405d38ea9b98dc6b3e1ec756.tar.xz yuzu-179bafa7cb1efae5405d38ea9b98dc6b3e1ec756.tar.zst yuzu-179bafa7cb1efae5405d38ea9b98dc6b3e1ec756.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r-- | src/core/hle/kernel/thread.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 7a4916318..129e7858a 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -453,6 +453,10 @@ public: is_sync_cancelled = value; } + Handle GetGlobalHandle() const { + return global_handle; + } + private: void SetSchedulingStatus(ThreadSchedStatus new_status); void SetCurrentPriority(u32 new_priority); @@ -514,7 +518,7 @@ private: VAddr arb_wait_address{0}; /// Handle used as userdata to reference this object when inserting into the CoreTiming queue. - Handle callback_handle = 0; + Handle global_handle = 0; /// Callback that will be invoked when the thread is resumed from a waiting state. If the thread /// was waiting via WaitSynchronization then the object will be the last object that became |