private void Process(AsyncThread thread)
        {
            while (thread.IsWorking())
            {
                ((TaskProcessor)thread.GetExtraData()).HandleTasks(50);

                System.Threading.Thread.Sleep(10);
            }
        }
Beispiel #2
0
        private void SendLogic(AsyncThread thread)
        {
            while (thread.IsWorking())
            {
                doSendMessage();

                System.Threading.Thread.Sleep(30);
            }
        }
        private void SendLogic(AsyncThread thread)
        {
            while (thread.IsWorking())
            {
                doSendMessage();

                System.Threading.Thread.Sleep(30);
            }
        }