Package-level declarations

Functions

Link copied to clipboard

Creates a concurrent mutable list whose iteration is safe under concurrent modification: a reader iterating the list while another thread mutates it observes a stable snapshot and never throws ConcurrentModificationException.

Link copied to clipboard
actual fun <K : Any, V : Any> concurrentMutableMapOf(): MutableMap<K, V>
expect fun <K : Any, V : Any> concurrentMutableMapOf(): MutableMap<K, V>

Creates a concurrent mutable map.