2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lkotlinx/coroutines/bt;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "EventLoop.common.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-08-14 23:59:34 +00:00
|
|
|
.field private static final bnv:Ljava/lang/ThreadLocal;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/ThreadLocal<",
|
|
|
|
"Lkotlinx/coroutines/as;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
.field public static final bnw:Lkotlinx/coroutines/bt;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Lkotlinx/coroutines/bt;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lkotlinx/coroutines/bt;-><init>()V
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
sput-object v0, Lkotlinx/coroutines/bt;->bnw:Lkotlinx/coroutines/bt;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/ThreadLocal;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
sput-object v0, Lkotlinx/coroutines/bt;->bnv:Ljava/lang/ThreadLocal;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
.method public static Fr()Lkotlinx/coroutines/as;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
sget-object v0, Lkotlinx/coroutines/bt;->bnv:Ljava/lang/ThreadLocal;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lkotlinx/coroutines/as;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
invoke-static {}, Lkotlinx/coroutines/au;->Fd()Lkotlinx/coroutines/as;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
sget-object v1, Lkotlinx/coroutines/bt;->bnv:Ljava/lang/ThreadLocal;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
.method public static Fs()V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
sget-object v0, Lkotlinx/coroutines/bt;->bnv:Ljava/lang/ThreadLocal;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Lkotlinx/coroutines/as;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "eventLoop"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
sget-object v0, Lkotlinx/coroutines/bt;->bnv:Ljava/lang/ThreadLocal;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|