diff options
Diffstat (limited to 'include/framework/structure')
| -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) { |