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
Use Instant instead of SystemTime #42
Comments
https://github.com/riker-rs/riker/blob/master/src/system/timer.rs#L128 looks like it needs a distinction between jobs using |
Personally I'd run everything on |
Please review the PR. I introduces |
Instant
is intended to be used for timers.SystemTime
can go backwards, e.g. if the system clock is adjusted. If the clock goes backwards, then everything relying on a timer would stop working until time catches up again (e.g. hours/days later). See the docs in the std lib.The text was updated successfully, but these errors were encountered: