about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-08-28 11:23:30 -0700
committerBrian Anderson <banderson@mozilla.com>2013-08-28 11:23:32 -0700
commitd923f75d79836ef281be8efaecb958dc50af161d (patch)
treea7f74c8ccd975eb1cab75f737c685128c7b5ee12
parent9708ef03a6c9d52daf424c933428ccdfc4e29a56 (diff)
downloadrust-d923f75d79836ef281be8efaecb958dc50af161d.tar.gz
rust-d923f75d79836ef281be8efaecb958dc50af161d.zip
doc: Remove statement about scheduling randomness
The new scheduler is not currently that random.
-rw-r--r--doc/tutorial-tasks.md15
1 files changed, 0 insertions, 15 deletions
diff --git a/doc/tutorial-tasks.md b/doc/tutorial-tasks.md
index d190c332e66..18f35cf39a8 100644
--- a/doc/tutorial-tasks.md
+++ b/doc/tutorial-tasks.md
@@ -113,21 +113,6 @@ do spawn {
 }
 ~~~
 
-By default, the scheduler multiplexes tasks across the available cores, running
-in parallel. Thus, on a multicore machine, running the following code
-should interleave the output in vaguely random order.
-
-~~~
-# use std::io::print;
-# use std::task::spawn;
-
-for child_task_number in range(0, 20) {
-    do spawn {
-       print(fmt!("I am child number %d\n", child_task_number));
-    }
-}
-~~~
-
 ## Communication
 
 Now that we have spawned a new task, it would be nice if we could