Files
rr3-apk/decompiled/sources/kotlinx/coroutines/ThreadLocalEventLoop.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

34 lines
1.1 KiB
Java

package kotlinx.coroutines;
import kotlinx.coroutines.internal.Symbol;
import kotlinx.coroutines.internal.ThreadLocalKt;
/* loaded from: classes5.dex */
public final class ThreadLocalEventLoop {
public static final ThreadLocalEventLoop INSTANCE = new ThreadLocalEventLoop();
public static final ThreadLocal ref = ThreadLocalKt.commonThreadLocal(new Symbol("ThreadLocalEventLoop"));
public final EventLoop getEventLoop$kotlinx_coroutines_core() {
ThreadLocal threadLocal = ref;
EventLoop eventLoop = (EventLoop) threadLocal.get();
if (eventLoop != null) {
return eventLoop;
}
EventLoop createEventLoop = EventLoopKt.createEventLoop();
threadLocal.set(createEventLoop);
return createEventLoop;
}
public final EventLoop currentOrNull$kotlinx_coroutines_core() {
return (EventLoop) ref.get();
}
public final void resetEventLoop$kotlinx_coroutines_core() {
ref.set(null);
}
public final void setEventLoop$kotlinx_coroutines_core(EventLoop eventLoop) {
ref.set(eventLoop);
}
}