wangzhengquan
2020-10-10 9ebe80228c7b7cb35ccaeaaa46ccf726bf71d6bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "shm_mm.h"
#include "mem_pool.h"
#include "hashtable.h"
 
void shm_init(int size) {
    mem_pool_init(size);
}
 
void shm_destroy() {
    mem_pool_destroy();
}
 
int shm_alloc_key() {
    return mm_alloc_key();
}