Skip to content

Conversation

@Manishearth
Copy link
Member

The Windows failures in #22628 are caused by leftover threads blocking stdtest.exe; in both of these tests a thread is spawned that may outlive the main thread. We can't use a scoped thread here because these both test the behavior of panics in spawned threads, and with scoped threads we cannot panic the child without the parent panicking too.

A twenty-second sleep for Windows ensures that the spawned thread will have exited.

This is only temporary (and is very much a hack), we probably should find a better solution to the issue of exes being blocked because they are in use, perhaps via the test runner.

@rust-highfive
Copy link
Contributor

r? @alexcrichton

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

@Manishearth Manishearth deleted the chewing-gum-and-duct-tape branch September 3, 2015 17:46
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.

3 participants