src/queue/shm_queue_wrapper.c
@@ -2,6 +2,8 @@ #include "mem_pool.h" #include "hashtable.h" #include "shm_queue.h" #include "shm_allocator.h" typedef struct ele_t { size_t size; @@ -14,11 +16,12 @@ //移除不包含在keys中的队列 // 移除不包含在keys中的队列, void shm_remove_queues_exclude(void *keys, int length) { SHMQueue<ele_t>::remove_queues_exclude((int*)keys, (size_t)length); //SHMQueue<ele_t>::remove_queues_exclude((int*)keys, (size_t)length); } /** * 创建队列 * @ shmqueue