intellimate / Izou

A home automation API for the Raspberry Pi in java. javadoc: http://intellimate.github.io/Izou/apidocs/overview-summary.html
Other
5 stars 0 forks source link

Timeout ContenGenerators not working #6

Closed jundl77 closed 10 years ago

jundl77 commented 10 years ago

do { change = false; for (Future future : futures) { if(future.isDone()) change = true; } if(!change) Thread.sleep(10); count++; } while(!change && (count < countLimit)); List data = new ArrayList<>(); if(count < countLimit) { for (Future next : futures) { if (!next.isDone()) { ...... do while -> do runs for 1 time after while is false

LeanderK commented 10 years ago

fixed