equal
deleted
inserted
replaced
230 private volatile boolean startExecution; |
230 private volatile boolean startExecution; |
231 private volatile boolean stopExecution; |
231 private volatile boolean stopExecution; |
232 |
232 |
233 public void run() { |
233 public void run() { |
234 while (!startExecution) |
234 while (!startExecution) |
235 yield(); |
235 Thread.yield(); |
236 |
236 |
237 for (int i = 0; (i < actionsNumber) && !stopExecution; i++) |
237 for (int i = 0; (i < actionsNumber) && !stopExecution; i++) |
238 executor.doEventAction(); |
238 executor.doEventAction(); |
239 } |
239 } |
240 |
240 |