-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timeout > 524 is not accurate #901
Conversation
hash = (sched->cursors[level] + off) % LEVEL_SIZE; | ||
list_add_tail(&timer->list, &sched->hashs[level][hash]); | ||
#ifdef CONFIG_TIMER_DEBUG | ||
assert(timer->handler == handler); | ||
#endif | ||
return EDPVS_OK; | ||
} else { | ||
timer->delay += sched->cursors[level] * get_level_ticks(level); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
timer->delay
is an user-specified parameter, and we should not changed. It seems a carry-in problem. You may fix it in some other way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
timer->delay
is an user-specified parameter, and we should not changed. It seems a carry-in problem. You may fix it in some other way.
seems #29 fixed, but not merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I will reconsider it later.
No description provided.