From 3baa1ff0ea9c24f4ecf0f818f2c5909d6d918f5e Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 19 一月 2021 18:26:49 +0800 Subject: [PATCH] delete Makefile. use cmake --- src/queue/shm_queue.h | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/queue/shm_queue.h b/src/queue/shm_queue.h index 64d4600..7d98eaa 100644 --- a/src/queue/shm_queue.h +++ b/src/queue/shm_queue.h @@ -1,3 +1,7 @@ +/** + * encapsulate lock_free_queue, populate in userspace + */ + #ifndef __SHM_QUEUE_H__ #define __SHM_QUEUE_H__ @@ -7,8 +11,7 @@ #include "sem_util.h" #include "shm_allocator.h" #include "usg_common.h" -// default Queue size -// #define LOCK_FREE_Q_DEFAULT_SIZE 16 + template <typename ELEM_T> class SHMQueue { -- Gitblit v1.8.0