39 lines
1.2 KiB
Java
39 lines
1.2 KiB
Java
package c.i.a.c.b2;
|
|
/* compiled from: lambda */
|
|
public final /* synthetic */ class d implements Runnable {
|
|
public final /* synthetic */ o i;
|
|
public final /* synthetic */ Runnable j;
|
|
|
|
public /* synthetic */ d(o oVar, Runnable runnable) {
|
|
this.i = oVar;
|
|
this.j = runnable;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
o oVar = this.i;
|
|
Runnable runnable = this.j;
|
|
synchronized (oVar.a) {
|
|
if (!oVar.l) {
|
|
long j = oVar.k - 1;
|
|
oVar.k = j;
|
|
int i = (j > 0 ? 1 : (j == 0 ? 0 : -1));
|
|
if (i <= 0) {
|
|
if (i < 0) {
|
|
oVar.c(new IllegalStateException());
|
|
} else {
|
|
oVar.a();
|
|
try {
|
|
runnable.run();
|
|
} catch (IllegalStateException e) {
|
|
oVar.c(e);
|
|
} catch (Exception e2) {
|
|
oVar.c(new IllegalStateException(e2));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|