Ejemplo n.º 1
0
        public void QueueWriteOperation(IO.IWriteOperation op)
        {
            lock (write_ops)
            {
                write_ops.Enqueue(op);

                if (current_write_op == null)
                {
                    current_write_op = write_ops.Dequeue();
                    op.BeginWrite(this);

                    StartSending();
                }
            }
        }