We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is the last part of the scheduler and of channel work that is still missing.
goroutines selecting on time.After() should be able to sleep and wake up when their timeout happens.
time.Sleep() should put a goroutine to sleep for a given time, allowing it to continue execution after the pause.
The text was updated successfully, but these errors were encountered:
time.Sleep() works on the main goroutine.
gi> import "time" elapsed: '69.063µs' gi> time.Sleep(time.Second * 2) elapsed: '2.005103039s' gi>
but it also puts the entire scheduler/repl to sleep at the same time, even if run on a goroutine.
Sorry, something went wrong.
No branches or pull requests
This is the last part of the scheduler and of channel work that is still missing.
goroutines selecting on time.After() should be able to sleep and wake up when
their timeout happens.
time.Sleep() should put a goroutine to sleep for a given time, allowing it to
continue execution after the pause.
The text was updated successfully, but these errors were encountered: