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