kernel: Downgrade edeadlk to log

This commit is contained in:
IndecisiveTurtle 2024-10-24 23:41:38 +03:00 committed by IndecisiveTurtle
parent 649ffb2079
commit 2adef6e23c

View file

@ -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: {