From a698f91db443301af8a4d793e1fd6e087e63b5c6 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 18 Apr 2024 01:36:15 +0300 Subject: [PATCH] Kernel: Fix PriorityMutex::try_lock() Forgot to check this when I updated Mutex::try_lock() --- kernel/include/kernel/Lock/Mutex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/include/kernel/Lock/Mutex.h b/kernel/include/kernel/Lock/Mutex.h index a19b60f6..f71187e2 100644 --- a/kernel/include/kernel/Lock/Mutex.h +++ b/kernel/include/kernel/Lock/Mutex.h @@ -103,6 +103,7 @@ namespace Kernel ASSERT(m_lock_depth == 0); } m_lock_depth++; + return true; } void unlock()