Kernel: Fix PriorityMutex::try_lock()
Forgot to check this when I updated Mutex::try_lock()
This commit is contained in:
parent
30d12a76bc
commit
a698f91db4
|
@ -103,6 +103,7 @@ namespace Kernel
|
||||||
ASSERT(m_lock_depth == 0);
|
ASSERT(m_lock_depth == 0);
|
||||||
}
|
}
|
||||||
m_lock_depth++;
|
m_lock_depth++;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void unlock()
|
void unlock()
|
||||||
|
|
Loading…
Reference in New Issue