From 2adef6e23c94cb1a11601972f3f1752174d1055b Mon Sep 17 00:00:00 2001 From: IndecisiveTurtle Date: Thu, 24 Oct 2024 23:41:38 +0300 Subject: [PATCH] kernel: Downgrade edeadlk to log --- src/core/libraries/kernel/threads/mutex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/libraries/kernel/threads/mutex.cpp b/src/core/libraries/kernel/threads/mutex.cpp index e5563742..51e90797 100644 --- a/src/core/libraries/kernel/threads/mutex.cpp +++ b/src/core/libraries/kernel/threads/mutex.cpp @@ -160,7 +160,7 @@ int PthreadMutex::SelfLock(const OrbisKernelTimespec* abstime, u64 usec) { * POSIX specifies that mutexes should return * EDEADLK if a recursive lock is detected. */ - UNREACHABLE_MSG("Mutex deadlock occured"); + LOG_ERROR(Lib_Kernel, "Mutex deadlock possibly occured"); return POSIX_EDEADLK; } case PthreadMutexType::Normal: {