-
Notifications
You must be signed in to change notification settings - Fork 243
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
Hang in event.wait() with current master #86
Comments
Ah, it's a side-effect of the
I'd submit a patch but I'm not entirely sure what the best fix is. I guess the obvious fix would be to make sure that |
Interesting. This is something experimental that I've been playing around with. I might take it out again. A lot of things in Curio are experimental ;-). |
Patching _queue_reschedule_function to come back to the original task should be easy--there are other kernel functions that do that. |
Just pushed a possible fix for this. |
The TLS tests are passing, so I guess we can close |
Hi, me again...
With curio 0.5, this code works as expected. With current master, it hangs mysteriously:
Output with 0.5:
Output with 7eb64a2:
(Encountered while writing a test for #85, which is why it doesn't have tests yet.)
The text was updated successfully, but these errors were encountered: