Пример #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);
 }