Package io.ktor.utils.io.concurrent

Functions

shared
Link copied to clipboard
common
inline fun <T> shared(value: T): ReadWriteProperty<Any, T>
Allows to create mutate property with frozen value.
inline fun <T> shared(value: T): ReadWriteProperty<Any, T>
Allows to create mutate property with frozen value.
posix
inline fun <T> shared(value: T): ReadWriteProperty<Any, T>
Allows to create mutate property with frozen value.
threadLocal
Link copied to clipboard
common
fun <T : Any> threadLocal(value: T): ReadOnlyProperty<Any, T?>
Allow to create thread local reference without freezing.
fun <T : Any> threadLocal(value: T): ReadOnlyProperty<Any, T?>
Allow to create thread local reference without freezing.
posix
fun <T : Any> threadLocal(value: T): ReadOnlyProperty<Any, T?>
Allow to create thread local reference without freezing.