1/*
2 * Copyright 2009,2011, Haiku, Inc.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _PACKAGE__BLOCK_BUFFER_POOL_NO_LOCK_H
6#define _PACKAGE__BLOCK_BUFFER_POOL_NO_LOCK_H
7
8
9#include <package/hpkg/BlockBufferPool.h>
10
11
12namespace BPackageKit {
13
14namespace BHPKG {
15
16
17class BBlockBufferPoolNoLock : public BHPKG::BBlockBufferPool {
18public:
19								BBlockBufferPoolNoLock(size_t blockSize,
20									uint32 maxCachedBlocks);
21	virtual						~BBlockBufferPoolNoLock();
22
23	virtual	bool				Lock();
24	virtual	void				Unlock();
25};
26
27
28}	// namespace BHPKG
29
30}	// namespace BPackageKit
31
32
33#endif	// _PACKAGE__BLOCK_BUFFER_POOL_NO_LOCK_H
34