Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DLockFreeTaskQueue.kt97 if (state and FROZEN_MASK != 0L) return false // frozen -- try next in close()
106 … if (state and (FROZEN_MASK or CLOSED_MASK) != 0L) return state.addFailReason() // cannot add in addLast()
133 … if (cur._state.value and FROZEN_MASK == 0L) break // all fine -- not frozen yet in addLast()
166 if (state and FROZEN_MASK != 0L) return REMOVE_FROZEN // frozen -- cannot modify in removeFirstOrNull()
202 if (state and FROZEN_MASK != 0L) { in removeSlowPath()
218 if (state and FROZEN_MASK != 0L) return state // already marked in next()
219 state or FROZEN_MASK in next()
239 next._state.value = state wo FROZEN_MASK in allocateNextCopy()
282 const val FROZEN_MASK = 1L shl FROZEN_SHIFT in isClosed() constant