예제 #1
0
파일: EventLoop.cs 프로젝트: blesh/ALE
 public static void AddWorker()
 {
     lock (Workers)
     {
         var worker = new EventLoopWorker();
         if (IsRunning)
         {
             worker.Start();
         }
         Workers.Add(worker);
     }
 }
예제 #2
0
 public static void AddWorker()
 {
     lock (Workers)
     {
         var worker = new EventLoopWorker();
         if (IsRunning)
         {
             worker.Start();
         }
         Workers.Add(worker);
     }
 }