wangzhengquan
2020-07-29 e1b1fb4eb197a157809d6b6f4b0cfd8aa03bba60
src/queue/shm_mm.c
@@ -1,5 +1,6 @@
#include "shm_mm.h"
#include "mem_pool.h"
#include "hashtable.h"
void shm_init(int size) {
   mem_pool_init(size);
@@ -9,4 +10,10 @@
   mem_pool_destroy();
}
int shm_alloc_key() {
   hashtable_t *hashtable = mm_get_hashtable();
   return  hashtable_alloc_key(hashtable);
}