Exemplo n.º 1
0
        private void ReadVertexes()
        {
            var vertexTree = new VertexTree();

            vertexTree.LoadData();

            try
            {
                _lockVr.EnterWriteLock();
                _rVertexTree = vertexTree;
            }
            finally
            {
                _lockVr.ExitWriteLock();
            }
        }
Exemplo n.º 2
0
        private void ReadVertexes()
        {
            var vertexTree = new VertexTree();
            vertexTree.LoadData();

            try
            {
                _lockVr.EnterWriteLock();
                _rVertexTree = vertexTree;
            }
            finally
            {
                _lockVr.ExitWriteLock();
            }
        }