Searched refs:NO_DECISION (Results 1 – 2 of 2) sorted by relevance
43 internal val NO_DECISION: Any = Symbol("NO_DECISION") constant58 private val _consensus = atomic<Any?>(NO_DECISION)63 val isDecided: Boolean get() = _consensus.value !== NO_DECISION79 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()
435 … consensus === NO_DECISION -> atomicOp // desc.onPrepare returned null -> start doing atomic op in <lambda>()