Example #1
0
		public override void Dispose ()
		{
			if (this.ThreadPool.NotNull())
			{
				this.ThreadPool.Dispose();
				this.ThreadPool = null;
			}
		}
Example #2
0
		public ThreadedServer(Parallel.ThreadPool threadPool, Action<Connection> process) :
		base(process)
		{
			this.ThreadPool = threadPool;
		}