diff options
| author | bunnei <bunneidev@gmail.com> | 2019-04-03 11:46:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-03 11:46:17 -0400 |
| commit | 74a4a5047017f9ed01d7139a1e6aee258382b91d (patch) | |
| tree | 49df4085cc5210019d561ab1a0abe787a1dbc514 /src/core/hle/kernel/thread.h | |
| parent | 774fa0b828ed3b63bd1df1542364693782740878 (diff) | |
| parent | 436624173916c2aea8d0ea0e83bebb299da281b2 (diff) | |
Merge pull request #2314 from lioncash/const
kernel/thread: Minor interface cleanup
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 9c684758c..73e5d1bb4 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -111,7 +111,7 @@ public: return HANDLE_TYPE; } - bool ShouldWait(Thread* thread) const override; + bool ShouldWait(const Thread* thread) const override; void Acquire(Thread* thread) override; /** @@ -205,7 +205,7 @@ public: * object in the list. * @param object Object to query the index of. */ - s32 GetWaitObjectIndex(WaitObject* object) const; + s32 GetWaitObjectIndex(const WaitObject* object) const; /** * Stops a thread, invalidating it from further use @@ -299,7 +299,7 @@ public: } /// Determines whether all the objects this thread is waiting on are ready. - bool AllWaitObjectsReady(); + bool AllWaitObjectsReady() const; const MutexWaitingThreads& GetMutexWaitingThreads() const { return wait_mutex_threads; |
