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