1 /* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de> 4 * Distributed under the terms of the MIT License. 5 */ 6 7 8 #include <package/hpkg/BlockBufferPoolNoLock.h> 9 10 11 namespace BPackageKit { 12 13 namespace BHPKG { 14 15 BBlockBufferPoolNoLock(size_t blockSize,uint32 maxCachedBlocks)16BBlockBufferPoolNoLock::BBlockBufferPoolNoLock(size_t blockSize, 17 uint32 maxCachedBlocks) 18 : 19 BBlockBufferPool(blockSize, maxCachedBlocks) 20 { 21 } 22 23 ~BBlockBufferPoolNoLock()24BBlockBufferPoolNoLock::~BBlockBufferPoolNoLock() 25 { 26 } 27 28 29 bool Lock()30BBlockBufferPoolNoLock::Lock() 31 { 32 return true; 33 } 34 35 36 void Unlock()37BBlockBufferPoolNoLock::Unlock() 38 { 39 } 40 41 42 } // namespace BHPKG 43 44 } // namespace BPackageKit 45