- 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
30 lines
1.0 KiB
Java
30 lines
1.0 KiB
Java
package kotlinx.coroutines.scheduling;
|
|
|
|
import kotlinx.coroutines.CoroutineDispatcher;
|
|
import kotlinx.coroutines.internal.LimitedDispatcherKt;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class DefaultScheduler extends SchedulerCoroutineDispatcher {
|
|
public static final DefaultScheduler INSTANCE = new DefaultScheduler();
|
|
|
|
@Override // kotlinx.coroutines.CoroutineDispatcher
|
|
public String toString() {
|
|
return "Dispatchers.Default";
|
|
}
|
|
|
|
public DefaultScheduler() {
|
|
super(TasksKt.CORE_POOL_SIZE, TasksKt.MAX_POOL_SIZE, TasksKt.IDLE_WORKER_KEEP_ALIVE_NS, TasksKt.DEFAULT_SCHEDULER_NAME);
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.CoroutineDispatcher
|
|
public CoroutineDispatcher limitedParallelism(int i) {
|
|
LimitedDispatcherKt.checkParallelism(i);
|
|
return i >= TasksKt.CORE_POOL_SIZE ? this : super.limitedParallelism(i);
|
|
}
|
|
|
|
@Override // java.io.Closeable, java.lang.AutoCloseable
|
|
public void close() {
|
|
throw new UnsupportedOperationException("Dispatchers.Default cannot be closed");
|
|
}
|
|
}
|