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

Busy waiting. #11

Open
vi opened this issue Jan 30, 2019 · 1 comment
Open

Busy waiting. #11

vi opened this issue Jan 30, 2019 · 1 comment

Comments

@vi
Copy link

vi commented Jan 30, 2019

Both thread pool and a single-threaded executor can't properly idle because of hard coded 1 millisecond interval for polling:

Timeouts should only be specified while polling when there are active timers running.

@marcbrevoort-cyberhive
Copy link

This busy waiting results in high CPU usage. Are there any plans for turning this into a true async library so that it uses near-zero CPU when idle?

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

No branches or pull requests

2 participants