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); } }
public Config(Config other) : this(other.QueueDepth, other.NodeWidth) { }