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++) {
Thread.sleep(500);
}
- thread.join();
+ //thread.join();
}
}
}