Example #1
0
 public RTree(Config config, IPersister persister, IFactory factory)
 {
     this.config = config.Copy();
     this.queue = new ConcurrentQueue<Operation>();
     this.thread = new Thread(new ThreadStart(this.Worker));
     this.thread.IsBackground = true;
     try
     {
         thread.Start();
     }
     catch (ThreadStartException e)
     {
         throw new InitializationException("Unable to initialize RTree worker thread.", e);
     }
 }
Example #2
0
 public Config(Config other)
     : this(other.QueueDepth, other.NodeWidth)
 {
 }