Closed GoogleCodeExporter closed 8 years ago
Note:
SimEntity ent;
boolean queue_empty;
still need to be in the changed version* For some reason I left them out. Here
is what the final version should look like:
public static boolean runClockTick() {
...
SimEntity ent;
boolean queue_empty;
Iterator<SimEntity> it = entities.iterator();
while(it.hasNext()) {
ent = it.next();
if (ent.getState() == SimEntity.RUNNABLE) {
ent.run();
}
}
...
}
Original comment by William....@gmail.com
on 13 Nov 2012 at 4:42
This can be solved for the next release. Thanks, William
Original comment by rodrigo.calheiros
on 9 Apr 2013 at 11:49
Original comment by rodrigo.calheiros
on 29 Apr 2013 at 4:08
Regression problem: This change may trigger concurrent access exceptions during
simulation.
Original comment by rodrigo.calheiros
on 29 Apr 2013 at 4:36
Original issue reported on code.google.com by
William....@gmail.com
on 11 Nov 2012 at 4:22