FACT++
1.0
|
#include <MemoryManager.h>
Public Member Functions | |
MemoryStock (size_t chunk, size_t max) | |
Private Member Functions | |
std::shared_ptr< char > | pop (bool block) |
void | push (const std::shared_ptr< char > &mem) |
Private Attributes | |
size_t | fChunkSize |
size_t | fMaxMemory |
size_t | fInUse |
size_t | fAllocated |
size_t | fMaxInUse |
std::mutex | fMutexMem |
std::mutex | fMutexCond |
std::condition_variable | fCond |
std::forward_list< std::shared_ptr< char > > | fMemoryStock |
Friends | |
class | MemoryChunk |
class | MemoryManager |
Definition at line 16 of file MemoryManager.h.