Skip to content

Conversation

@lihuiba
Copy link
Collaborator

@lihuiba lihuiba commented Nov 13, 2025

No description provided.

@lihuiba lihuiba requested a review from beef9999 November 13, 2025 07:59
if (sleepq.empty() && !if_update_now()) {
return count;
}
do {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe sleepq.empty() is true here, then sleepq.front() will crash.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should move if_update_now() out of the if.

@lihuiba lihuiba requested a review from ivanallen November 14, 2025 06:13
@lihuiba lihuiba merged commit 34b5bbf into alibaba:release/0.8 Nov 16, 2025
10 checks passed
photonlibos pushed a commit that referenced this pull request Nov 16, 2025
lihuiba added a commit that referenced this pull request Nov 16, 2025
lihuiba added a commit that referenced this pull request Nov 16, 2025
photonlibos added a commit that referenced this pull request Nov 16, 2025
lihuiba added a commit that referenced this pull request Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When the vcpu is blocked, the timer cannot be awakened for a long time.

3 participants