File diff r11362:d9d4adbc4779 → r11363:6906c490a00e
src/oldpool.h
Show inline comments
 
@@ -31,15 +31,15 @@ protected:
 

	
 
	const char *name;           ///< Name of the pool (just for debugging)
 

	
 
	const uint max_blocks;      ///< The max amount of blocks this pool can have
 
	const uint block_size_bits; ///< The size of each block in bits
 

	
 
	/// Pointer to a function that is called after a new block is added
 
	/** Pointer to a function that is called after a new block is added */
 
	OldMemoryPoolNewBlock *new_block_proc;
 
	/// Pointer to a function that is called to clean a block
 
	/** Pointer to a function that is called to clean a block */
 
	OldMemoryPoolCleanBlock *clean_block_proc;
 

	
 
	uint current_blocks;        ///< How many blocks we have in our pool
 
	uint total_items;           ///< How many items we now have in this pool
 

	
 
	bool cleaning_pool;         ///< Are we currently cleaning the pool?