Exemplo n.º 1
0
        static void _AutoUpdateTimer()
        {
            var t = ATime.PerfMilliseconds;

            while (t_auList.Count > 0)
            {
                if (ATime.PerfMilliseconds - t > 20)
                {
                    return;                                                 //don't block UI thread
                }
                var k = t_auList.Dequeue();
                k.cache._AutoUpdateSingle(k);
            }
            t_auTimer.Stop();
        }