aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/threads.rs
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-09-07 18:01:35 -0700
committerMichael Bebenita <[email protected]>2010-09-07 18:41:07 -0700
commit79e3856d7d4e159eae84093c6b5b5009b121cd8c (patch)
tree862f752a2dfdf613faf59ae919f528f860d15a7e /src/test/run-pass/threads.rs
parentAdded a few utility classes, cleaned up the include order of .h files, and st... (diff)
downloadrust-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.rs3
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";