1 /* 2 * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7 #include "VMPageQueue.h" 8 9 10 // #pragma mark - VMPageQueue 11 12 13 void 14 VMPageQueue::Init(const char* name) 15 { 16 new(&fPages) PageList; 17 18 B_INITIALIZE_SPINLOCK(&fLock); 19 20 fName = name; 21 fCount = 0; 22 } 23