[mempool] more tests

This commit is contained in:
Joe Thornber
2016-06-01 14:46:27 +01:00
parent 73a69abfd2
commit 34c039d7dc
4 changed files with 11 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ namespace bcache {
mempool(size_t block_size, size_t total_mem, size_t alignment = 8);
~mempool();
boost::optional<void *> alloc();
void *alloc();
void free(void *data);
private: