|
|
@ -4156,6 +4156,7 @@ class Core {
|
|
|
|
// https://docs.oracle.com/javase/7/docs/api/java/lang/Thread.State.html
|
|
|
|
// https://docs.oracle.com/javase/7/docs/api/java/lang/Thread.State.html
|
|
|
|
Thread.State state = thread.getState();
|
|
|
|
Thread.State state = thread.getState();
|
|
|
|
if (thread.isAlive()) {
|
|
|
|
if (thread.isAlive()) {
|
|
|
|
|
|
|
|
if (interrupted)
|
|
|
|
Log.e("Join " + name + " failed state=" + state + " interrupted=" + interrupted);
|
|
|
|
Log.e("Join " + name + " failed state=" + state + " interrupted=" + interrupted);
|
|
|
|
if (interrupted)
|
|
|
|
if (interrupted)
|
|
|
|
joined = true; // give up
|
|
|
|
joined = true; // give up
|
|
|
|