Skip to content

Container pause/resume improvements #299

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

Merged
merged 2 commits into from
Jan 31, 2023
Merged

Conversation

sobychacko
Copy link
Collaborator

  • When container is paused, ensure that we are not spinning CPU cycles by constantly trying to poll in a loop. When pausing the container, the polling waits until a condition is signaled by resuming.

Resolves #297

* When container is paused, ensure that we are not spinning
  CPU cycles by constantly trying to poll in a loop. When
  pausing the container, the polling waits until a condition
  is signaled by resuming.

Resolves spring-projects#297
@sobychacko sobychacko requested a review from onobc January 31, 2023 00:13
Copy link
Collaborator

@onobc onobc left a comment

Choose a reason for hiding this comment

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

@sobychacko nice improvement and nice use of Lock/Condition for this. I added a couple comments.

@onobc onobc merged commit ce96e7f into spring-projects:main Jan 31, 2023
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.

Loop improvements while container paused
2 participants