示例#1
0
 public void Initialize(Parallel.ThreadPool threadPool)
 {
     this.Backend.Initialize(threadPool);
     this.Backend.Send     = this.Receive;
     this.Backend.OnReset += () =>
     {
         lock (this.Lock)
         {
             this.activeCount    = 0;
             this.discardedCount = 0;
         }
         this.OnReset.Call();
     };
 }
示例#2
0
 public virtual void Initialize(Parallel.ThreadPool threadPool)
 {
     this.ThreadPool = threadPool;
     this.Extensions = this.Players.SupportedExtensions.ToArray();
 }
示例#3
0
 void IInput.Initialize(Parallel.ThreadPool threadPool)
 {
     this.backend.Initialize(threadPool);
 }