src/oldpool.h
branchnoai
changeset 10355 ee4b5f7a5bf2
parent 10142 56ee7da4ad56
child 10455 22c441f5adf9
equal deleted inserted replaced
10353:adf5a495f0e2 10355:ee4b5f7a5bf2
   290 	 */
   290 	 */
   291 	static inline bool CleaningPool()
   291 	static inline bool CleaningPool()
   292 	{
   292 	{
   293 		return Tpool->CleaningPool();
   293 		return Tpool->CleaningPool();
   294 	}
   294 	}
       
   295 
       
   296 public:
       
   297 	static bool CanAllocateItem();
   295 };
   298 };
   296 
   299 
   297 
   300 
   298 #define OLD_POOL_ENUM(name, type, block_size_bits, max_blocks) \
   301 #define OLD_POOL_ENUM(name, type, block_size_bits, max_blocks) \
   299 	enum { \
   302 	enum { \