Esempio n. 1
0
 public static void UpdateWorker()
 {
     if (WorkerInstance != null && !WorkerInstance.WorkerSettings.Multithreaded)
     {
         WorkerInstance.ThreadUpdate();
     }
 }
Esempio n. 2
0
 public static void StopWorkerThread()
 {
     if (WorkerInstance != null)
     {
         WorkerInstance.Stop();
         WorkerInstance = null;
     }
 }
Esempio n. 3
0
    public static void StartWorkerThread(PSMoveWorkerSettings workerSettings)
    {
        if (WorkerInstance == null)
        {
            WorkerInstance = new PSMoveWorker(workerSettings);
        }

        WorkerInstance.Start();
    }