Apparently my PC has run out of threads, according to @rustlang thread 'main' panicked at 'failed to spawn thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }', src/libcore/result.rs:997:5
3
5
Replying to @rjek @rustlang
And how many threads had you created when it said that?

Apr 30, 2019 ยท 8:42 AM UTC

1
Regardless, it is a bad error message :)
1
1
It's not great, but that's what you get for using a convenience API. If you used the thread builder API you'd get the io::Result object and could handle the error rather than it panic!()ing.
1