Files
rr3-apk/decompiled/sources/com/unity3d/scar/adapter/common/DispatchGroup.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

30 lines
650 B
Java

package com.unity3d.scar.adapter.common;
/* loaded from: classes4.dex */
public class DispatchGroup {
private Runnable _runnable;
private int _threadCount = 0;
public synchronized void enter() {
this._threadCount++;
}
public synchronized void leave() {
this._threadCount--;
notifyGroup();
}
public void notify(Runnable runnable) {
this._runnable = runnable;
notifyGroup();
}
private void notifyGroup() {
Runnable runnable;
if (this._threadCount > 0 || (runnable = this._runnable) == null) {
return;
}
runnable.run();
}
}