Exemplo n.º 1
0
 public void Flush()
 {
     Interlocked.Exchange(ref _isFlush, 1);
     m_dataBuffer.Flush();
     lock (m_dataStackLockObj)
     {
         if (m_dataBuffer != null && m_dataBuffer.Count > 0)
         {
             m_dataStack.Push(m_dataBuffer);
         }
         Interlocked.Increment(ref _count);
         NewDataBuffer();
     }
 }
Exemplo n.º 2
0
 public void Flush()
 {
     m_dataBuffer.Flush();
     AutoFlush();
 }