From b386f0c5d35994a54e95d5fe1c4bcbfd1cdea59c Mon Sep 17 00:00:00 2001
From: Fu Juntang <StrongTiger_001@163.com>
Date: 星期五, 03 九月 2021 17:43:11 +0800
Subject: [PATCH] Supplementary for the fix of the lock removal.

---
 src/queue/array_lock_free_queue.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/queue/array_lock_free_queue.h b/src/queue/array_lock_free_queue.h
index a03b33e..24efd10 100644
--- a/src/queue/array_lock_free_queue.h
+++ b/src/queue/array_lock_free_queue.h
@@ -5,7 +5,7 @@
 #include <assert.h> // assert()
 #include <sched.h>  // sched_yield()
 #include "logger_factory.h"
-#include "mem_pool.h"
+#include "shm_mm.h"
 #include "shm_allocator.h"
 
 /// @brief implementation of an array based lock free queue with support for 
@@ -102,6 +102,7 @@
 template<typename ELEM_T, typename Allocator>
 ArrayLockFreeQueue<ELEM_T, Allocator>::~ArrayLockFreeQueue() {
   // std::cout << "destroy ArrayLockFreeQueue\n";
+  
   Allocator::deallocate(m_theQueue);
 
 }

--
Gitblit v1.8.0