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

Decrease Example from 100% CPU Usage #33

Merged
merged 2 commits into from
Jun 7, 2018

Conversation

computerlyrik
Copy link
Contributor

Without sleeping, example will use up to 100% CPU Core.

@elliots
Copy link
Member

elliots commented Jan 16, 2017

Is there anyone else that can verify this works as described?

@computerlyrik
Copy link
Contributor Author

computerlyrik commented Jan 16, 2017

To Reproduce: Clone, Compile, Build
On Raspberry 3 - Arch linux

If anyone knows another solution, i would be happy - with usleep(100) still takes up to 16% CPU

@elliots elliots merged commit 31c0ea4 into ninjablocks:master Jun 7, 2018
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.

2 participants