ADD week 5
This commit is contained in:
@ -0,0 +1,47 @@
|
||||
package kotlinx.coroutines;
|
||||
|
||||
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.Volatile;
|
||||
|
||||
/* compiled from: CompletionState.kt */
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0003\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0000\u0018\u00002\u00020\u0001B#\u0012\n\u0010\u0002\u001a\u0006\u0012\u0002\b\u00030\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007¢\u0006\u0002\u0010\bJ\u0006\u0010\u000b\u001a\u00020\u0007R\t\u0010\t\u001a\u00020\nX\u0082\u0004¨\u0006\f"}, d2 = {"Lkotlinx/coroutines/CancelledContinuation;", "Lkotlinx/coroutines/CompletedExceptionally;", "continuation", "Lkotlin/coroutines/Continuation;", "cause", "", "handled", "", "(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;Z)V", "_resumed", "Lkotlinx/atomicfu/AtomicBoolean;", "makeResumed", "kotlinx-coroutines-core"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CancelledContinuation extends CompletedExceptionally {
|
||||
private static final AtomicIntegerFieldUpdater _resumed$FU = AtomicIntegerFieldUpdater.newUpdater(CancelledContinuation.class, "_resumed");
|
||||
|
||||
@Volatile
|
||||
private volatile int _resumed;
|
||||
|
||||
/* JADX WARN: Illegal instructions before constructor call */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public CancelledContinuation(kotlin.coroutines.Continuation<?> r3, java.lang.Throwable r4, boolean r5) {
|
||||
/*
|
||||
r2 = this;
|
||||
if (r4 != 0) goto L1c
|
||||
java.util.concurrent.CancellationException r4 = new java.util.concurrent.CancellationException
|
||||
java.lang.StringBuilder r0 = new java.lang.StringBuilder
|
||||
java.lang.String r1 = "Continuation "
|
||||
r0.<init>(r1)
|
||||
r0.append(r3)
|
||||
java.lang.String r3 = " was cancelled normally"
|
||||
r0.append(r3)
|
||||
java.lang.String r3 = r0.toString()
|
||||
r4.<init>(r3)
|
||||
java.lang.Throwable r4 = (java.lang.Throwable) r4
|
||||
L1c:
|
||||
r2.<init>(r4, r5)
|
||||
r3 = 0
|
||||
r2._resumed = r3
|
||||
return
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: kotlinx.coroutines.CancelledContinuation.<init>(kotlin.coroutines.Continuation, java.lang.Throwable, boolean):void");
|
||||
}
|
||||
|
||||
public final boolean makeResumed() {
|
||||
return _resumed$FU.compareAndSet(this, 0, 1);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user