* Work-around for the KDEBUG "holder" mechanism; we actually want to lock the

mutex in another thread here than we will unlock it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26300 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-07-07 16:34:38 +00:00
parent e0fc5e7380
commit 846f4fa2ab

View File

@ -474,6 +474,10 @@ BlockAllocator::Initialize(bool full)
"bfs block allocator", B_LOW_PRIORITY, (void *)this);
if (id < B_OK)
return _Initialize(this);
#ifdef KDEBUG
else
fLock.holder = id;
#endif
return resume_thread(id);
}