wangzhengquan
2020-07-27 622c90511661cc7f4162d327ee9b97e0b764af9a
src/queue/include/shm_queue.h
@@ -21,6 +21,8 @@
  ~SHMQueue();
  void force_destroy();
  inline uint32_t size();
  inline bool full();
@@ -103,7 +105,7 @@
  }
}
template <typename ELEM_T> inline uint32_t SHMQueue<ELEM_T>::force_destroy() {
template <typename ELEM_T> void SHMQueue<ELEM_T>::force_destroy() {
  SemUtil::dec(queue->mutex);
  delete queue;
  hashtable_t *hashtable = mm_get_hashtable();