Files
rr3-apk/decompiled-community/sources/com/mbridge/msdk/dycreator/bus/BackgroundPoster.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

59 lines
1.7 KiB
Java

package com.mbridge.msdk.dycreator.bus;
import android.util.Log;
/* loaded from: classes4.dex */
final class BackgroundPoster implements Runnable {
private final PendingPostQueue a = new PendingPostQueue();
private volatile boolean b;
private final EventBus c;
public BackgroundPoster(EventBus eventBus) {
this.c = eventBus;
}
public final void enqueue(Subscription subscription, Object obj) {
PendingPost a = PendingPost.a(subscription, obj);
synchronized (this) {
try {
this.a.a(a);
if (!this.b) {
this.b = true;
EventBus.a.execute(this);
}
} catch (Throwable th) {
throw th;
}
}
}
@Override // java.lang.Runnable
public final void run() {
while (true) {
try {
try {
PendingPost a = this.a.a(1000);
if (a == null) {
synchronized (this) {
a = this.a.a();
if (a == null) {
this.b = false;
this.b = false;
return;
}
}
}
this.c.a(a);
} catch (InterruptedException e) {
Log.w("Event", Thread.currentThread().getName() + " was interruppted", e);
this.b = false;
return;
}
} catch (Throwable th) {
this.b = false;
throw th;
}
}
}
}