-
Notifications
You must be signed in to change notification settings - Fork 122
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
Sleep Doesn't Actually Sleep #73
Comments
Sleep unblocks on incoming interrupts - It's safer to wrap it in a loop and check for time elapsed if you really want to block for a certain amount of time. |
@marekventur , so would it be a mistake to implement sleep.sleep() to loop on the elapsed ticks? |
Connect to the REPL then run:
The console returns immediately.
The text was updated successfully, but these errors were encountered: