Skip to content
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

std: Fail more gracefully on thread spawn errors #13606

Merged
merged 1 commit into from
Apr 19, 2014

Conversation

alexcrichton
Copy link
Member

On windows, correctly check for errors when spawning threads, and on both
windows and unix handle the error more gracefully rather than printing an opaque
assertion failure.

Closes #13589

On windows, correctly check for errors when spawning threads, and on both
windows and unix handle the error more gracefully rather than printing an opaque
assertion failure.

Closes rust-lang#13589
bors added a commit that referenced this pull request Apr 19, 2014
On windows, correctly check for errors when spawning threads, and on both
windows and unix handle the error more gracefully rather than printing an opaque
assertion failure.

Closes #13589
@bors bors closed this Apr 19, 2014
@bors bors merged commit c318d72 into rust-lang:master Apr 19, 2014
@alexcrichton alexcrichton deleted the better-thread-errors branch April 21, 2014 16:41
matthiaskrgr pushed a commit to matthiaskrgr/rust that referenced this pull request Nov 16, 2022
fix: Add trait alias grammar to rust.ungram

We already parse them, but the grammar was never updated to reflect that
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.

Error: 'assertion failed: libc::CloseHandle(native) != 0' if integer is too high.
3 participants