ModernUO/Projects/Server/Timer
Kamron Batman 791128f238
fix: Fixes timer orphaning issue (#1196)
* Fixes an edge case where a check to see if a timer was being executed resulted in it not being properly detached on stop. Fixed this by changing how we determine what timer is currently being executed.
* Adds execution count to #DEBUG_TIMERS so shards can get notified (rudimentarily for now) about sequentially executing long chains of timers.

Unfortunately, for now, there is no good option when it comes to executing timers. If we execute let's say 500, and defer the rest, that makes all timers effectively 8ms off until it "catches up". Depending on the shard, that may never happen.
2022-10-18 18:14:26 -07:00
..
Timer.cs fix: Fixes timer orphaning issue (#1196) 2022-10-18 18:14:26 -07:00
Timer.DelayCall.cs fix: Fixes timer orphaning issue (#1196) 2022-10-18 18:14:26 -07:00
Timer.DelayStateCall.cs fix: Cleans up core code (#1187) 2022-10-10 21:47:08 -07:00
Timer.Pool.cs fix: Adds more debugging to the timer system. Simplifies the timer pool. (#1195) 2022-10-17 23:25:49 -07:00
Timer.TimerWheel.cs fix: Fixes timer orphaning issue (#1196) 2022-10-18 18:14:26 -07:00
TimerExecutionToken.cs fix: Cleans up core code (#1187) 2022-10-10 21:47:08 -07:00