We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64ed372 + d923f75 commit 9c33ef5Copy full SHA for 9c33ef5
doc/tutorial-tasks.md
@@ -113,21 +113,6 @@ do spawn {
113
}
114
~~~
115
116
-By default, the scheduler multiplexes tasks across the available cores, running
117
-in parallel. Thus, on a multicore machine, running the following code
118
-should interleave the output in vaguely random order.
119
-
120
-~~~
121
-# use std::io::print;
122
-# use std::task::spawn;
123
124
-for child_task_number in range(0, 20) {
125
- do spawn {
126
- print(fmt!("I am child number %d\n", child_task_number));
127
- }
128
-}
129
130
131
## Communication
132
133
Now that we have spawned a new task, it would be nice if we could
0 commit comments