|
|
@ -95,8 +95,14 @@ public class ClassWrapper { |
|
|
|
mtThread.start(); |
|
|
|
mtThread.start(); |
|
|
|
|
|
|
|
|
|
|
|
while (!mtProc.isFinished()) { |
|
|
|
while (!mtProc.isFinished()) { |
|
|
|
|
|
|
|
try { |
|
|
|
synchronized (mtProc.lock) { |
|
|
|
synchronized (mtProc.lock) { |
|
|
|
mtProc.lock.wait(100); |
|
|
|
mtProc.lock.wait(200); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
catch (InterruptedException e) { |
|
|
|
|
|
|
|
killThread(mtThread); |
|
|
|
|
|
|
|
throw e; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (System.currentTimeMillis() >= stopAt) { |
|
|
|
if (System.currentTimeMillis() >= stopAt) { |
|
|
|