haiku/headers/os/package/hpkg/BlockBufferPoolNoLock.h
Ingo Weinhold 0ee1651856 Rename BBlockBufferCache and friends to *Pool*
Also move BBlockBufferPoolNoLock into BHPKG namespace with the other
classes. Not sure why it wasn't there before.
2013-05-25 01:12:25 +02:00

34 lines
630 B
C++

/*
* Copyright 2009,2011, Haiku, Inc.
* Distributed under the terms of the MIT License.
*/
#ifndef _PACKAGE__BLOCK_BUFFER_POOL_NO_LOCK_H
#define _PACKAGE__BLOCK_BUFFER_POOL_NO_LOCK_H
#include <package/hpkg/BlockBufferPool.h>
namespace BPackageKit {
namespace BHPKG {
class BBlockBufferPoolNoLock : public BHPKG::BBlockBufferPool {
public:
BBlockBufferPoolNoLock(size_t blockSize,
uint32 maxCachedBlocks);
virtual ~BBlockBufferPoolNoLock();
virtual bool Lock();
virtual void Unlock();
};
} // namespace BHPKG
} // namespace BPackageKit
#endif // _PACKAGE__BLOCK_BUFFER_POOL_NO_LOCK_H