New test case for thread join
[IRC.git] / Robust / src / Tests / Atomic2.java
index c96ef202b669e389cf5047d20def94ba40f4748a..cea24dc1db1ae0470d1e86bf8e501a997c826efd 100644 (file)
@@ -13,6 +13,8 @@ public class Atomic2 extends Thread {
        System.printString("Starting\n");
        t.start(mid);
        System.printString("Finished\n");
+       /* Test thread join */
+       t.join();
        //this is ugly...
        while(true) {
            atomic {