wangzhengquan
2020-11-30 ed012804c8d089a3bca69574b198bdd987318f01
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();
}