diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2025-02-24 11:14:52 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2025-02-24 11:14:52 -0500 |
| commit | d116b94389538aa8e0e7354fae77693b980de4f0 (patch) | |
| tree | 918e29a6734c726f398f2d06894fdb42d9752fa9 /include/framework/structure/MutableBuffer.h | |
| parent | 40fe2e7ea56d49a065a4a53b7f8a4a918a5d78b0 (diff) | |
| download | dynamic-extension-d116b94389538aa8e0e7354fae77693b980de4f0.tar.gz | |
Query Preemption: still has one or two bugs, but mostly works
Diffstat (limited to 'include/framework/structure/MutableBuffer.h')
| -rw-r--r-- | include/framework/structure/MutableBuffer.h | 6 |
1 files changed, 0 insertions, 6 deletions
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) { |