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