First benchmark working with capability-based RMI; adjustments in callbacks, etc.
[iot2.git] / benchmarks / Lifxtest / Lifxtest.java
index df951141c8e30d9769e7e58394b575a8a84a3a36..97860552ec9917ca46c9a107a2defe39f31d639d 100644 (file)
@@ -27,12 +27,12 @@ public class Lifxtest {
        public void init() throws InterruptedException {
 
                for(LightBulbTest lifx : lifx_light_bulb.values()) {
-                       Thread thread = new Thread(new Runnable() {
-                               public void run() {
+                       //Thread thread = new Thread(new Runnable() {
+                       //      public void run() {
                                        lifx.init();
-                               }
-                       });
-                       thread.start();
+                       //      }
+                       //});
+                       //thread.start();
                        Thread.sleep(1000);
 
                        for (int i = 0; i < 5; i++) {
@@ -68,7 +68,7 @@ public class Lifxtest {
                                Thread.sleep(500);
                        }
 
-                       thread.join();
+                       //thread.join();
                }
        }
 }