|
@@ -1,10 +1,10 @@
|
|
|
public class Main {
|
|
|
public static void main (String argv[]) {
|
|
|
- Thread t1, t2;
|
|
|
- t1 = new DispTask(false);
|
|
|
- t2 = new DispTask(false);
|
|
|
+ Thread tA, tB;
|
|
|
+ tA = new DispTask(false, "tA");
|
|
|
+ tB = new DispTask(false, "tB");
|
|
|
|
|
|
- t1.start();
|
|
|
- t2.start();
|
|
|
+ tA.start();
|
|
|
+ tB.start();
|
|
|
}
|
|
|
}
|