1
This commit is contained in:
parent
ea394ad9a9
commit
4e70850cd9
@ -230,8 +230,13 @@ public class Timer {
|
|||||||
private int cascade(ListHead[] tv, int index) {
|
private int cascade(ListHead[] tv, int index) {
|
||||||
tv[index].replaceInit(cascadeList);
|
tv[index].replaceInit(cascadeList);
|
||||||
|
|
||||||
while (!cascadeList.empty()) {
|
if (!cascadeList.empty()) {
|
||||||
// internalAddTimer();
|
ListHead pos, n;
|
||||||
|
for (pos = cascadeList.next, n = pos.next;
|
||||||
|
pos != cascadeList;
|
||||||
|
pos = n , n = pos.next) {
|
||||||
|
internalAddTimer((TimerList)pos.data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
cascadeList.init();
|
cascadeList.init();
|
||||||
return index;
|
return index;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user