wangzhengquan
2020-07-30 73c4fa813ca5dba5724b2de2102f314d52baccd6
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,7 @@
   mem_pool_destroy();
}
int shm_alloc_key() {
   hashtable_t *hashtable = mm_get_hashtable();
   return  hashtable_alloc_key(hashtable);
}