From d116b94389538aa8e0e7354fae77693b980de4f0 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Mon, 24 Feb 2025 11:14:52 -0500 Subject: Query Preemption: still has one or two bugs, but mostly works --- include/framework/structure/MutableBuffer.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/framework/structure/MutableBuffer.h') diff --git a/include/framework/structure/MutableBuffer.h b/include/framework/structure/MutableBuffer.h index 105f0f3..e62a495 100644 --- a/include/framework/structure/MutableBuffer.h +++ b/include/framework/structure/MutableBuffer.h @@ -147,12 +147,6 @@ public: assert(new_head > m_head.load().head_idx); assert(new_head <= m_tail.load()); - /* refuse to advance head while there is an old with one references */ - if (m_old_head.load().refcnt > 0) { - //fprintf(stderr, "[W]: Refusing to advance head due to remaining reference counts\n"); - return false; - } - m_active_head_advance.store(true); if (m_old_head.load().refcnt > 0) { -- cgit v1.2.3