removed debugger call,

added name to BLocker


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4416 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2003-08-30 23:47:55 +00:00
parent 990e20ecdf
commit a54e42d79a
+2 -3
View File
@@ -43,7 +43,7 @@ BBlockCache::BBlockCache(uint32 blockCount,
: fFreeList(0),
fBlockSize(blockSize),
fExcessBlocks(0),
fLocker(),
fLocker("some BBlockCache lock"),
fAlloc(0),
fFree(0)
{
@@ -53,11 +53,10 @@ BBlockCache::BBlockCache(uint32 blockCount,
fFree = &operator delete[];
break;
case B_MALLOC_CACHE:
default:
fAlloc = &malloc;
fFree = &free;
break;
default:
debugger("Error, you can't create a BBlockCache with undefined allocationType\n");
}
// To properly maintain a list of free buffers, a buffer must be