equal
deleted
inserted
replaced
174 * free CPU time so that the thread's memory could not |
174 * free CPU time so that the thread's memory could not |
175 * be moved to swap file. |
175 * be moved to swap file. |
176 */ |
176 */ |
177 public void run() { |
177 public void run() { |
178 while (!GO && !timeout()) |
178 while (!GO && !timeout()) |
179 yield(); |
179 Thread.yield(); |
180 while (!STOP && !timeout()) |
180 while (!STOP && !timeout()) |
181 ; |
181 ; |
182 } |
182 } |
183 |
183 |
184 private static long startTime = System.currentTimeMillis(); |
184 private static long startTime = System.currentTimeMillis(); |