diff options
| author | Michael Bebenita <[email protected]> | 2010-09-07 18:01:35 -0700 |
|---|---|---|
| committer | Michael Bebenita <[email protected]> | 2010-09-07 18:41:07 -0700 |
| commit | 79e3856d7d4e159eae84093c6b5b5009b121cd8c (patch) | |
| tree | 862f752a2dfdf613faf59ae919f528f860d15a7e /src/test/run-pass/threads.rs | |
| parent | Added a few utility classes, cleaned up the include order of .h files, and st... (diff) | |
| download | rust-79e3856d7d4e159eae84093c6b5b5009b121cd8c.tar.xz rust-79e3856d7d4e159eae84093c6b5b5009b121cd8c.zip | |
Small updates to test cases.
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"; |