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(); }
private static void _RunAsyncAction(object state) { Action handler = state as Action; CallbackTools.Handle(ref handler, "[Loom._RunAsyncAction()]"); }