Skip to content

std: Prevent deadlocks in doctests on Windows #41769

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

Merged
merged 1 commit into from
May 5, 2017

Conversation

alexcrichton
Copy link
Member

Windows historically has problems with threads panicking and the main thread
exiting at the same time, typically causing deadlocks. In the past (#25824)
we've joined on threads but this just prevents running the test for now to avoid
tampering with the example.

@rust-highfive
Copy link
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@aturon
Copy link
Member

aturon commented May 5, 2017

r=me with a comment explaining the no_run or pointing to an issue

Windows historically has problems with threads panicking and the main thread
exiting at the same time, typically causing deadlocks. In the past (rust-lang#25824)
we've joined on threads but this just prevents running the test for now to avoid
tampering with the example.
@alexcrichton
Copy link
Member Author

@bors: r=aturon p=1

(p=1 as it's a spurious failure)

@bors
Copy link
Collaborator

bors commented May 5, 2017

📌 Commit 94e4b45 has been approved by aturon

@bors
Copy link
Collaborator

bors commented May 5, 2017

⌛ Testing commit 94e4b45 with merge f420965...

bors added a commit that referenced this pull request May 5, 2017
std: Prevent deadlocks in doctests on Windows

Windows historically has problems with threads panicking and the main thread
exiting at the same time, typically causing deadlocks. In the past (#25824)
we've joined on threads but this just prevents running the test for now to avoid
tampering with the example.
@bors
Copy link
Collaborator

bors commented May 5, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: aturon
Pushing f420965 to master...

@bors bors merged commit 94e4b45 into rust-lang:master May 5, 2017
@alexcrichton alexcrichton deleted the fix-doc-test branch June 14, 2017 18:40
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.

4 participants