diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-03-07 10:24:46 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 11:35:33 -0400 |
| commit | a66c61ca2de61e3a46fa857cf8afea359b2fb8eb (patch) | |
| tree | 7ed933638efc1a292fd452fbb2935042be7ec5e3 /src/core/hle/kernel/thread.h | |
| parent | 44cb9997b3bf3b1e16b05c2b115c7c4ad5e37dd1 (diff) | |
SCC: Small corrections to CancelSynchronization
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 e8355bbd1..d8a983200 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -556,6 +556,14 @@ public: waiting_for_arbitration = set; } + bool IsWaitingSync() const { + return is_waiting_on_sync; + } + + void SetWaitingSync(bool is_waiting) { + is_waiting_on_sync = is_waiting; + } + private: friend class GlobalScheduler; friend class Scheduler; @@ -650,6 +658,7 @@ private: u32 scheduling_state = 0; bool is_running = false; + bool is_waiting_on_sync = false; bool is_sync_cancelled = false; bool will_be_terminated{}; |
