BPicture: Fix archive constructor.
[haiku.git] / src / kits / package / hpkg / BlockBufferPoolNoLock.cpp
blobc13a95acb0bd95d5b71e94a9545e9b68765ccfc0
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 */
8 #include <package/hpkg/BlockBufferPoolNoLock.h>
11 namespace BPackageKit {
13 namespace BHPKG {
16 BBlockBufferPoolNoLock::BBlockBufferPoolNoLock(size_t blockSize,
17 uint32 maxCachedBlocks)
19 BBlockBufferPool(blockSize, maxCachedBlocks)
24 BBlockBufferPoolNoLock::~BBlockBufferPoolNoLock()
29 bool
30 BBlockBufferPoolNoLock::Lock()
32 return true;
36 void
37 BBlockBufferPoolNoLock::Unlock()
42 } // namespace BHPKG
44 } // namespace BPackageKit