diff options
author | bunnei <bunneidev@gmail.com> | 2019-11-23 19:23:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-23 19:23:23 +0100 |
commit | 6e4d46908af55e16afca1aa05aeab47e20ab49f5 (patch) | |
tree | ce0f6fd75e88b90325ab2673964c2b07234bb3d0 /src/core/hle/kernel/thread.h | |
parent | Merge pull request #3140 from FearlessTobi/port-4953 (diff) | |
parent | Kernel: Correct Cancel Synchronization. (diff) | |
download | yuzu-6e4d46908af55e16afca1aa05aeab47e20ab49f5.tar yuzu-6e4d46908af55e16afca1aa05aeab47e20ab49f5.tar.gz yuzu-6e4d46908af55e16afca1aa05aeab47e20ab49f5.tar.bz2 yuzu-6e4d46908af55e16afca1aa05aeab47e20ab49f5.tar.lz yuzu-6e4d46908af55e16afca1aa05aeab47e20ab49f5.tar.xz yuzu-6e4d46908af55e16afca1aa05aeab47e20ab49f5.tar.zst yuzu-6e4d46908af55e16afca1aa05aeab47e20ab49f5.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r-- | src/core/hle/kernel/thread.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index c9870873d..25a6ed234 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -440,6 +440,14 @@ public: is_running = value; } + bool IsSyncCancelled() const { + return is_sync_cancelled; + } + + void SetSyncCancelled(bool value) { + is_sync_cancelled = value; + } + private: explicit Thread(KernelCore& kernel); ~Thread() override; @@ -524,6 +532,7 @@ private: u32 scheduling_state = 0; bool is_running = false; + bool is_sync_cancelled = false; std::string name; }; |