about summary refs log tree commit diff
path: root/src/libstd/rt/mod.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-11-24 17:33:37 -0800
committerAaron Turon <aturon@mozilla.com>2014-12-18 23:31:35 -0800
commit9b03b72d7fb82f07d35e7dcda02754c6da90ae58 (patch)
treed64cf416856d211a50083a62fd26b444859ba5eb /src/libstd/rt/mod.rs
parentc009bfdf94a48434e1f6bf3bfe59cf539f464ee2 (diff)
downloadrust-9b03b72d7fb82f07d35e7dcda02754c6da90ae58.tar.gz
rust-9b03b72d7fb82f07d35e7dcda02754c6da90ae58.zip
Remove rt::bookkeeping
This commit removes the runtime bookkeeping previously used to ensure
that all Rust tasks were joined before the runtime was shut down.

This functionality will be replaced by an RAII style `Thread` API, that
will also offer a detached mode.

Since this changes the semantics of shutdown, it is a:

[breaking-change]
Diffstat (limited to 'src/libstd/rt/mod.rs')
-rw-r--r--src/libstd/rt/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs
index 5d5ccefda5d..676dbb0b498 100644
--- a/src/libstd/rt/mod.rs
+++ b/src/libstd/rt/mod.rs
@@ -73,7 +73,6 @@ pub mod mutex;
 pub mod thread;
 pub mod exclusive;
 pub mod util;
-pub mod bookkeeping;
 pub mod local;
 pub mod task;
 pub mod unwind;
@@ -207,7 +206,6 @@ pub fn at_exit(f: proc():Send) {
 /// Invoking cleanup while portions of the runtime are still in use may cause
 /// undefined behavior.
 pub unsafe fn cleanup() {
-    bookkeeping::wait_for_other_tasks();
     args::cleanup();
     thread::cleanup();
     local_ptr::cleanup();