コード例 #1
0
        public void Stop()
        {
            scriptThreadpool.Restart();
            scriptChangeThreadpool.Restart();
            cmdThreadpool.Restart();
            LUQueue.Clear();
            QueueItemStruct itm;

            while (ScriptEvents.TryDequeue(out itm))
            {
                ;
            }
            lock (SleepingScriptEvents)
                SleepingScriptEvents.Clear();
        }
コード例 #2
0
 public void Stop()
 {
     scriptThreadpool.Restart();
     scriptChangeThreadpool.Restart();
     cmdThreadpool.Restart();
 }