-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
native::start does not join all spawned tasks #11309
Comments
Hm, I tried to reproduce this, but I think OSX must always immediately schedule a child thread as opposed to sometimes not. I think I found the bug, but can you make sure that this commit fixes it for you? |
It looks like it does. |
Closed by 9c8813f |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Aug 11, 2023
[`filter_map_bool_then`]: Don't ICE on late bound regions Fixes rust-lang#11309 Also lints `&NonCopy` now, since any `&` is `Copy`. That was accidental, but it seems that this is a consequence (or improvement!) of this fix. r? `@Jarcho` changelog: [`filter_map_bool_then`]: Don't ICE on late bound regions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As demonstrated by the following program, which only prints
hi
at the mercy of the OS scheduler (taking the10_000
to0
makes it never print, and making it large makes it always print, as one would expect).Replacing libnative with libgreen prints every time, even with no busy loop.
The text was updated successfully, but these errors were encountered: