]> git.lizzy.rs Git - rust.git/commit
std: Handle OS errors when joining threads
authorAlex Crichton <alex@alexcrichton.com>
Sun, 27 Aug 2017 02:36:46 +0000 (19:36 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 27 Aug 2017 02:36:46 +0000 (19:36 -0700)
commitdc7c7ba0c9f401f5597a245e05ee9e8d760715d3
tree3368e960243d97ec04df19b3b7e51653913baaac
parent398aaffc94367ed59420f5ac0b0238c04c9e4fa5
std: Handle OS errors when joining threads

Also add to the documentation that the `join` method can panic.

cc #34971
cc #43539
src/libstd/sys/unix/thread.rs
src/libstd/sys/windows/c.rs
src/libstd/sys/windows/thread.rs
src/libstd/thread/mod.rs