Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36236 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -580,8 +580,11 @@ status_t
|
|||||||
VMCache::Init(uint32 cacheType, uint32 allocationFlags)
|
VMCache::Init(uint32 cacheType, uint32 allocationFlags)
|
||||||
{
|
{
|
||||||
mutex_init(&fLock, "VMCache");
|
mutex_init(&fLock, "VMCache");
|
||||||
|
|
||||||
VMCache dummyCache;
|
VMCache dummyCache;
|
||||||
list_init_etc(&consumers, offset_of_member(dummyCache, consumer_link));
|
list_init_etc(&consumers, offset_of_member(dummyCache, consumer_link));
|
||||||
|
// TODO: This is disgusting! Use DoublyLinkedList!
|
||||||
|
|
||||||
areas = NULL;
|
areas = NULL;
|
||||||
fRefCount = 1;
|
fRefCount = 1;
|
||||||
source = NULL;
|
source = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user