Skip to content
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

Closed
wants to merge 2 commits into from
Closed

Conversation

donghaobo
Copy link
Contributor

No description provided.

@ywc689 ywc689 added the pr/to-review-codes review codes line by line and check if problem exists. label Aug 10, 2023
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);
Copy link
Collaborator

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.

Copy link
Contributor Author

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

Copy link
Collaborator

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.

@ywc689 ywc689 added pr/codes-need-change problems found in the line-by-line code review and need to be fixed and removed pr/to-review-codes review codes line by line and check if problem exists. labels Aug 23, 2023
ywc689 added a commit to ywc689/dpvs that referenced this pull request Sep 19, 2023
The problem is revealed by yangxingwu in pr iqiyi#901 and the fix
is fetched from pr iqiyi#29 authored by yangxingwu.
@donghaobo donghaobo closed this Oct 25, 2023
ywc689 added a commit that referenced this pull request Dec 8, 2023
The problem is revealed by yangxingwu in pr #901 and the fix
is fetched from pr #29 authored by yangxingwu.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/codes-need-change problems found in the line-by-line code review and need to be fixed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants