123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- .class final Lokio/AsyncTimeout$Watchdog;
- .super Ljava/lang/Thread;
- .source ""
- # annotations
- .annotation system Ldalvik/annotation/EnclosingClass;
- value = Lokio/AsyncTimeout;
- .end annotation
- .annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x1a
- name = "Watchdog"
- .end annotation
- # direct methods
- .method constructor <init>()V
- .locals 1
- const-string v0, "Okio Watchdog"
- invoke-direct {p0, v0}, Ljava/lang/Thread;-><init>(Ljava/lang/String;)V
- const/4 v0, 0x1
- invoke-virtual {p0, v0}, Ljava/lang/Thread;->setDaemon(Z)V
- return-void
- .end method
- # virtual methods
- .method public run()V
- .locals 3
- :catch_0
- :goto_0
- :try_start_0
- const-class v0, Lokio/AsyncTimeout;
- monitor-enter v0
- :try_end_0
- .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
- :try_start_1
- invoke-static {}, Lokio/AsyncTimeout;->awaitTimeout()Lokio/AsyncTimeout;
- move-result-object v1
- if-nez v1, :cond_0
- monitor-exit v0
- goto :goto_0
- :cond_0
- sget-object v2, Lokio/AsyncTimeout;->head:Lokio/AsyncTimeout;
- if-ne v1, v2, :cond_1
- const/4 v1, 0x0
- sput-object v1, Lokio/AsyncTimeout;->head:Lokio/AsyncTimeout;
- monitor-exit v0
- return-void
- :cond_1
- monitor-exit v0
- :try_end_1
- .catchall {:try_start_1 .. :try_end_1} :catchall_0
- :try_start_2
- invoke-virtual {v1}, Lokio/AsyncTimeout;->timedOut()V
- :try_end_2
- .catch Ljava/lang/InterruptedException; {:try_start_2 .. :try_end_2} :catch_0
- goto :goto_0
- :catchall_0
- move-exception v1
- :try_start_3
- monitor-exit v0
- :try_end_3
- .catchall {:try_start_3 .. :try_end_3} :catchall_0
- :try_start_4
- goto :goto_2
- :try_end_4
- .catch Ljava/lang/InterruptedException; {:try_start_4 .. :try_end_4} :catch_0
- :goto_1
- throw v1
- :goto_2
- goto :goto_1
- .end method
|