-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Async undefined behavior #7758
Labels
Comments
Fun :) |
yglukhov
added a commit
to yglukhov/Nim
that referenced
this issue
May 3, 2018
I don't think this is undefined behaviour, it depends on how fast the CPU executes these poll's. This will go away once timers are implemented in the event loop. |
dom96
added a commit
that referenced
this issue
Jul 5, 2018
dom96
added a commit
that referenced
this issue
Jul 5, 2018
dom96
added a commit
that referenced
this issue
Aug 22, 2018
dom96
added a commit
that referenced
this issue
Aug 23, 2018
dom96
added a commit
that referenced
this issue
Aug 23, 2018
dom96
added a commit
that referenced
this issue
Aug 24, 2018
Araq
pushed a commit
that referenced
this issue
Aug 25, 2018
This was referenced Aug 6, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This simple code shows undefined behavior inside of asyncdispatch.
Conceptually this code must be completed in 1 poll call, but currently it completes for my PC in debug mode in
2108216
,2110094
,2100304
poll calls.The text was updated successfully, but these errors were encountered: