mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-02-23 04:21:14 +00:00
Merge pull request #2314 from lioncash/const
kernel/thread: Minor interface cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user