src/queue/include/lock_free_queue.h
@@ -319,6 +319,7 @@ template <typename T, typename AT> class Q_TYPE> bool LockFreeQueue<ELEM_T, Allocator, Q_TYPE>::pop_timeout(ELEM_T &a_data, struct timespec * timeout) { // printf("==================LockFreeQueue pop_timeout before\n"); if (SemUtil::dec_timeout(items, timeout) == -1) { if (errno == EAGAIN) return false; @@ -330,6 +331,7 @@ if (m_qImpl.pop(a_data)) { SemUtil::inc(slots); // printf("==================LockFreeQueue pop_timeout after\n"); return true; } return false;