This commit is contained in:
Adrien Destugues 2014-12-22 15:14:13 +01:00
parent 92cc6a0f43
commit d350b0f0d4

View File

@ -112,7 +112,7 @@ void
BLocker::Unlock() BLocker::Unlock()
{ {
// The Be Book explicitly allows any thread, not just the lock owner, to // The Be Book explicitly allows any thread, not just the lock owner, to
// unlock. This is bad practise and Haiku should not allow it. // unlock. This is bad practice and Haiku should not allow it.
if (!IsLocked()) if (!IsLocked())
debugger("Trying to unlock from the wrong thread (#6400)"); debugger("Trying to unlock from the wrong thread (#6400)");