-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
Replace usleep with sleep #906
base: master
Are you sure you want to change the base?
Conversation
Build failure seems unrelated. |
Seems like this should follow the other pull request you made and use c++'s sleep idiom. |
Ehhh it would make the line really long. usleep to sleep is simpler. |
There is the point of consistency, which makes refactoring in the future easier. And the point is to move from C api to standard C++. |
Done. |
Sorry, but you should make sure it compiles first. |
usleep was deprecated with POSIX 2008 and optionally unavailable with uClibc-ng.
Should be fixed now. |
Build failures are unrelated looks like. |
I'll merge this once I've completed some other stuff and have a chance to test it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compiles for me in GCC 10.2.
usleep was deprecated with POSIX 2008 and optionally unavailable with
uClibc-ng.