]> git.lizzy.rs Git - rust.git/commit
Improve the rt::thread module
authorAlex Crichton <alex@alexcrichton.com>
Tue, 26 Nov 2013 02:08:31 +0000 (18:08 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 27 Nov 2013 17:53:48 +0000 (09:53 -0800)
commit5d6dbf3f262fabcb6cb920dd08be6f9d8df75d5c
tree8218728771f9eb50c20a621736c0dd4e682d15b3
parented86b48cc9a8349e8e99de5f013f68f1edff4121
Improve the rt::thread module

* Added doc comments explaining what all public functionality does.
* Added the ability to spawn a detached thread
* Added the ability for the procs to return a value in 'join'
src/libstd/rt/local_ptr.rs
src/libstd/rt/test.rs
src/libstd/rt/thread.rs
src/libstd/task/spawn.rs