diff options
Diffstat (limited to 'src/test/run-pass/threads.rs')
| -rw-r--r-- | src/test/run-pass/threads.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/run-pass/threads.rs b/src/test/run-pass/threads.rs index b0fee65f..aa6e763f 100644 --- a/src/test/run-pass/threads.rs +++ b/src/test/run-pass/threads.rs @@ -1,10 +1,9 @@ // -*- rust -*- fn main() { - let port[int] p = port(); let int i = 10; while (i > 0) { - spawn thread child(i); + spawn thread "child" child(i); i = i - 1; } log "main thread exiting"; |