- 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
34 lines
1.1 KiB
Java
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);
|
|
}
|
|
}
|