Kernel/Mutex: Add a missing return in Mutex::Release

Fixes a regression in #3042.
Closes #3079
This commit is contained in:
Sebastian Valle 2017-11-05 21:31:22 -05:00 committed by GitHub
parent 8ba2de1580
commit ff17773c28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,8 @@ ResultCode Mutex::Release(Thread* thread) {
WakeupAllWaitingThreads(); WakeupAllWaitingThreads();
Core::System::GetInstance().PrepareReschedule(); Core::System::GetInstance().PrepareReschedule();
} }
return RESULT_SUCCESS;
} }
void Mutex::AddWaitingThread(SharedPtr<Thread> thread) { void Mutex::AddWaitingThread(SharedPtr<Thread> thread) {