Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/selects/
DSelect.kt215 internal val NOT_SELECTED: Any = Symbol("NOT_SELECTED") constant
246 private val _state = atomic<Any?>(NOT_SELECTED) in next()
365 state === NOT_SELECTED -> return false in next()
488 state === NOT_SELECTED -> { in next()
491 if (!_state.compareAndSet(NOT_SELECTED, null)) return@loop in next()
495 if (!_state.compareAndSet(NOT_SELECTED, pairSelectOp)) return@loop in next()
551 val update: Any = if (decision == null) otherOp.desc else NOT_SELECTED in next()
602 state === NOT_SELECTED -> { in next()
603 if (impl._state.compareAndSet(NOT_SELECTED, this)) in next()
613 impl._state.compareAndSet(this, NOT_SELECTED) in next()
[all …]