projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba4e8c
)
Correct the join testcase
author
adash
<adash>
Fri, 18 Jan 2008 08:19:30 +0000
(08:19 +0000)
committer
adash
<adash>
Fri, 18 Jan 2008 08:19:30 +0000
(08:19 +0000)
Robust/src/Tests/Atomic5.java
patch
|
blob
|
history
diff --git
a/Robust/src/Tests/Atomic5.java
b/Robust/src/Tests/Atomic5.java
index c53d56747a9e68b3e6eac0a58d981216420184ce..b93b71d331729a179bda8eaeef6910622ac95974 100644
(file)
--- a/
Robust/src/Tests/Atomic5.java
+++ b/
Robust/src/Tests/Atomic5.java
@@
-43,16
+43,12
@@
public class Atomic5 extends Thread {
}
tmp.start(mid);
}
-
for(int i = 0; i< 4; i++) {
+ atomic {
+ tmp = at5[i];
+ }
tmp.join();
}
-
- /*
- for(int i = 0 ; i< 4; i++) {
- at5[i].start(mid);
- }
- */
System.printString("Finished\n");
while(true) {
;