]> git.lizzy.rs Git - rust.git/commit
adds unsafe `thread::Builder::spawn_unchecked` function
authoroliver-giersch <oliver.giersch@googlemail.com>
Sat, 13 Oct 2018 12:34:31 +0000 (14:34 +0200)
committerGitHub <noreply@github.com>
Sat, 13 Oct 2018 12:34:31 +0000 (14:34 +0200)
commitfbb95689d692ba456309927793a28da85d2bf4d1
tree15e32a661e8049f3099c9675c5bea1881b09c30f
parent2d81989974a134025be733115574bee8084095b4
adds unsafe `thread::Builder::spawn_unchecked` function

moves code for `thread::Builder::spawn` into new public unsafe function `spawn_unchecked` and transforms `spawn` into a safe wrapper.
src/libstd/thread/mod.rs