This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Commit a794864
committed
timers: fix processing of nested same delay timers
Whenever a timer of a specific delay creates a new timer with the same
delay we currently end up processing the new timer immediately instead
of scheduling the timer to run in the future. This commit basically
identifies the situation, halts processing the current timer chain and
reschedules the timer chain appropriately in the future.
Fixes #256071 parent e192f61 commit a794864
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
| |||
0 commit comments