public void Add(T item) { using (MLock mlock = new MLock(m_visitMutex)) { if (m_dynamicBuffer.m_size >= m_dynamicBuffer.m_iCapacity) { m_dynamicBuffer.extendDeltaCapicity(1); } m_dynamicBuffer.m_buff[m_dynamicBuffer.m_size] = item; ++m_dynamicBuffer.m_size; } }
protected void extendDeltaCapicity(uint delta) { m_dynBuff.extendDeltaCapicity(delta); //check(); }