Skip to content

bring tokio-walltime in-house and fix the undefined behaviour#78

Merged
mfreeborn merged 2 commits intomasterfrom
fix-`wait`-immediate-return
May 19, 2025
Merged

bring tokio-walltime in-house and fix the undefined behaviour#78
mfreeborn merged 2 commits intomasterfrom
fix-`wait`-immediate-return

Conversation

@mfreeborn
Copy link
Owner

@mfreeborn mfreeborn commented May 19, 2025

the sleep function was getting optimised away in --release mode. I think the problem was that tokio-walltime was using undefined behaviour by using uninitialised memory. zeroing the memory in the first instance appears to have fixed the problem.

fixes #74

@mfreeborn mfreeborn merged commit 91fb5ee into master May 19, 2025
2 checks passed
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.

heliocron don't wait

1 participant