diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2014-12-26 16:04:27 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2014-12-26 16:04:27 -0500 |
| commit | b8ffad5964e328340de0c03779577eb14caa16fc (patch) | |
| tree | 7361af3b160475fa6566c8780a582843d47741bb /src/libstd/rt/mod.rs | |
| parent | d10642ef0f8976b9fb08500acdff84e3990815fa (diff) | |
| download | rust-b8ffad5964e328340de0c03779577eb14caa16fc.tar.gz rust-b8ffad5964e328340de0c03779577eb14caa16fc.zip | |
s/task/thread/g
A part of #20038
Diffstat (limited to 'src/libstd/rt/mod.rs')
| -rw-r--r-- | src/libstd/rt/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs index d64336569c6..e877dd5c6aa 100644 --- a/src/libstd/rt/mod.rs +++ b/src/libstd/rt/mod.rs @@ -53,7 +53,7 @@ pub mod args; mod at_exit_imp; mod libunwind; -/// The default error code of the rust runtime if the main task panics instead +/// The default error code of the rust runtime if the main thread panics instead /// of exiting cleanly. pub const DEFAULT_ERROR_CODE: int = 101; @@ -137,9 +137,9 @@ fn lang_start(main: *const u8, argc: int, argv: *const *const u8) -> int { /// /// The procedure passed to this function will be executed as part of the /// runtime cleanup phase. For normal rust programs, this means that it will run -/// after all other tasks have exited. +/// after all other threads have exited. /// -/// The procedure is *not* executed with a local `Task` available to it, so +/// The procedure is *not* executed with a local `Thread` available to it, so /// primitives like logging, I/O, channels, spawning, etc, are *not* available. /// This is meant for "bare bones" usage to clean up runtime details, this is /// not meant as a general-purpose "let's clean everything up" function. |
