Removes a tributary buffer from this root buffer.
64 {
65 if (this->is_processing()) {
67 bool expected = false;
68 if (m_pending_op.active.compare_exchange_strong(expected, true, std::memory_order_acquire, std::memory_order_relaxed)) {
69 m_pending_op.buffer = buffer;
70 m_pending_op.is_addition = false;
72 return;
73 }
74 }
75
76 return;
77 }
78
80 }
void remove_child_buffer_direct(std::shared_ptr< BufferType > buffer)
struct MayaFlux::Buffers::RootBuffer::PendingBufferOp m_pending_ops[MAX_PENDING]
std::atomic< uint32_t > m_pending_count