Searched refs:pollForIndexReadLocked (Results 1 – 1 of 1) sorted by relevance
104 elements.getOrNull(pollForIndexReadLocked(timeoutMs, pos, predicate)) in <lambda>()115 private fun pollForIndexReadLocked(timeoutMs: Long, pos: Int, predicate: (E) -> Boolean): Int { in pollForIndexReadLocked() method271 val index = pollForIndexReadLocked(timeoutMs, readHead, predicate) in newReadHead()