From d923f75d79836ef281be8efaecb958dc50af161d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 28 Aug 2013 11:23:30 -0700 Subject: [PATCH] doc: Remove statement about scheduling randomness The new scheduler is not currently that random. --- doc/tutorial-tasks.md | 15 --------------- 1 file changed, 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