2022-06-10 21:38:30 +09:00

79 lines
2.0 KiB
Smali

.class public final Luj/b;
.super Ljava/lang/Object;
.source "CoroutineScheduler.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {}
d1 = {
"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0003\u001a\u0010\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\u0001\u001a\u0010\u0010\u0004\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\u0001\u00a8\u0006\u0005"
}
d2 = {
"Ljava/lang/Thread;",
"thread",
"",
"a",
"b",
"kotlinx-coroutines-core"
}
k = 0x2
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method public static final a(Ljava/lang/Thread;)Z
.locals 0
.param p0 # Ljava/lang/Thread;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation build Lkotlin/jvm/JvmName;
name = "isSchedulerWorker"
.end annotation
.line 1
instance-of p0, p0, Lkotlinx/coroutines/scheduling/CoroutineScheduler$b;
return p0
.end method
.method public static final b(Ljava/lang/Thread;)Z
.locals 1
.param p0 # Ljava/lang/Thread;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation build Lkotlin/jvm/JvmName;
name = "mayNotBlock"
.end annotation
.line 1
instance-of v0, p0, Lkotlinx/coroutines/scheduling/CoroutineScheduler$b;
if-eqz v0, :cond_0
check-cast p0, Lkotlinx/coroutines/scheduling/CoroutineScheduler$b;
iget-object p0, p0, Lkotlinx/coroutines/scheduling/CoroutineScheduler$b;->b:Lkotlinx/coroutines/scheduling/CoroutineScheduler$WorkerState;
sget-object v0, Lkotlinx/coroutines/scheduling/CoroutineScheduler$WorkerState;->CPU_ACQUIRED:Lkotlinx/coroutines/scheduling/CoroutineScheduler$WorkerState;
if-ne p0, v0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method