doc: Remove statement about scheduling randomness

The new scheduler is not currently that random.
This commit is contained in:
Brian Anderson 2013-08-28 11:23:30 -07:00
parent 9708ef03a6
commit d923f75d79
1 changed files with 0 additions and 15 deletions

View File

@ -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