Check in per Jeremy Rand: Adjusted implementation to behave like that in R5 -- no more tracking of excess blocks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4523 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -67,11 +67,12 @@ private:
|
||||
|
||||
_FreeBlock *fFreeList;
|
||||
size_t fBlockSize;
|
||||
int32 fExcessBlocks;
|
||||
int32 fFreeBlocks;
|
||||
int32 fBlockCount;
|
||||
BLocker fLocker;
|
||||
void * (*fAlloc)(size_t size);
|
||||
void (*fFree)(void *pointer);
|
||||
uint32 _reserved[3];
|
||||
uint32 _reserved[2];
|
||||
};
|
||||
|
||||
#endif /* _BLOCK_CACHE_H */
|
||||
|
||||
Reference in New Issue
Block a user