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

vine: link_poll handle whole buffer #4054

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

colinthomas-z80
Copy link
Contributor

@colinthomas-z80 colinthomas-z80 commented Feb 4, 2025

Proposed Changes

In one call to link_poll handle any additional messages in the buffer.

This appears to remove some latency between messages coming in.

Merge Checklist

The following items must be completed before PRs can be merged.
Check these off to verify you have completed all steps.

  • make test Run local tests prior to pushing.
  • make format Format source code to comply with lint policies. Note that some lint errors can only be resolved manually (e.g., Python)
  • make lint Run lint on source code prior to pushing.
  • Manual Update: Update the manual to reflect user-visible changes.
  • Type Labels: Select a github label for the type: bugfix, enhancement, etc.
  • Product Labels: Select a github label for the product: TaskVine, Makeflow, etc.
  • PR RTM: Mark your PR as ready to merge.

Copy link
Member

@btovar btovar left a comment

Choose a reason for hiding this comment

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

Please add a comment to the commit explaining why the change is needed. Are there any drawbacks?

int workers_failed = 0;
// Then consider all existing active workers
for (i = j; i < n; i++) {
for (int i = 1; i < n; i++) {
Copy link
Member

Choose a reason for hiding this comment

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

Let's leave the int outside the for, as that's the way we do it in the rest of the code.

@btovar btovar merged commit 7cd8da7 into cooperative-computing-lab:master Feb 6, 2025
10 checks passed
btovar pushed a commit that referenced this pull request Feb 6, 2025
* read in whole link buffer

* add break, formatting
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.

3 participants