wangzhengquan
2020-08-04 3a89a77e79407d0d638ddf983ee580410cf807c5
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();
}