Package-level declarations
Types
Link copied to clipboard
A unit of work started on a real, separate thread by startBackgroundThread.
A unit of work started on a real, separate thread by startBackgroundThread.
A unit of work started on a real, separate thread by startBackgroundThread.
Functions
Link copied to clipboard
fun runConcurrently(threadCount: Int, timeout: Duration = 10.seconds, action: (threadIndex: Int) -> Unit)
Runs action concurrently on threadCount real background threads. Blocks the calling thread until every thread returns or timeout elapses.