Merge pull request #2314 from lioncash/const

kernel/thread: Minor interface cleanup
This commit is contained in:
bunnei 2019-04-03 11:46:17 -04:00 committed by GitHub
commit 74a4a50470
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 18 additions and 18 deletions

View file

@ -257,7 +257,7 @@ void Process::Acquire(Thread* thread) {
ASSERT_MSG(!ShouldWait(thread), "Object unavailable!");
}
bool Process::ShouldWait(Thread* thread) const {
bool Process::ShouldWait(const Thread* thread) const {
return !is_signaled;
}