1 |
+ |
/* |
2 |
+ |
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
+ |
* Expert Group and released to the public domain, as explained at |
4 |
+ |
* http://creativecommons.org/licenses/publicdomain |
5 |
+ |
*/ |
6 |
+ |
|
7 |
|
// Barrier version of Jacobi iteration |
8 |
|
|
9 |
|
import java.util.concurrent.*; |
26 |
|
} |
27 |
|
|
28 |
|
catch (Exception e) { |
29 |
< |
System.out.println("Usage: java ThreadPhaserJacobi <matrix size> <max steps>"); |
29 |
> |
System.out.println("Usage: java FJPhaserJacobi <matrix size> <max steps>"); |
30 |
|
return; |
31 |
|
} |
32 |
|
|