xref: /haiku/src/kits/package/hpkg/BlockBufferPoolNoLock.cpp (revision 9f81ca838ce7b92b5689e57d3f86765db4705a7b)
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)16 BBlockBufferPoolNoLock::BBlockBufferPoolNoLock(size_t blockSize,
17 	uint32 maxCachedBlocks)
18 	:
19 	BBlockBufferPool(blockSize, maxCachedBlocks)
20 {
21 }
22 
23 
~BBlockBufferPoolNoLock()24 BBlockBufferPoolNoLock::~BBlockBufferPoolNoLock()
25 {
26 }
27 
28 
29 bool
Lock()30 BBlockBufferPoolNoLock::Lock()
31 {
32 	return true;
33 }
34 
35 
36 void
Unlock()37 BBlockBufferPoolNoLock::Unlock()
38 {
39 }
40 
41 
42 }	// namespace BHPKG
43 
44 }	// namespace BPackageKit
45