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

Support spin_all() with a zero timeout #1825

Closed
hidmic opened this issue Nov 11, 2021 · 0 comments
Closed

Support spin_all() with a zero timeout #1825

hidmic opened this issue Nov 11, 2021 · 0 comments
Labels
backlog enhancement New feature or request

Comments

@hidmic
Copy link
Contributor

hidmic commented Nov 11, 2021

Feature request

Feature description

Extend the range of valid timeouts for spin_all() invocations to 0 i.e. keep spinning until all work has been exhausted.

Implementation considerations

It should boil down to a one line change here. While it is true that it could result in an indefinite wait, if work keeps coming faster than it can be processed then that's arguably a higher-order issue with the particular use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants