Home
last modified time | relevance | path

Searched refs:NO_DECISION (Results 1 – 2 of 2) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DAtomic.kt43 internal val NO_DECISION: Any = Symbol("NO_DECISION") constant
58 private val _consensus = atomic<Any?>(NO_DECISION)
63 val isDecided: Boolean get() = _consensus.value !== NO_DECISION
79 assert { decision !== NO_DECISION } in decide()
81 if (current !== NO_DECISION) return current in decide()
82 if (_consensus.compareAndSet(NO_DECISION, decision)) return decision in decide()
95 if (decision === NO_DECISION) { in prepare()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DLockFreeLinkedList.kt435 … consensus === NO_DECISION -> atomicOp // desc.onPrepare returned null -> start doing atomic op in <lambda>()