Ejemplo n.º 1
0
        internal static void Tick()
        {
            if (_receivedActions.Count <= 0)
            {
                return;
            }
            int num = _receivedActions.MoveToEx(_tempActions, _locker);

            for (int i = 0; i < num; i++)
            {
                Action handler = _tempActions[i] as Action;
                CallbackTools.Handle(ref handler, "[Loom._Tick()]");
            }
            _tempActions.Clear();
        }
Ejemplo n.º 2
0
        private static void _RunAsyncAction(object state)
        {
            Action handler = state as Action;

            CallbackTools.Handle(ref handler, "[Loom._RunAsyncAction()]");
        }