jw
11/22/2018, 2:36 AMRuckus
11/22/2018, 3:51 AMdelay
)? Does it just do a busy loop? For example, if I do
suspend fun main() {
delay(10_000L)
}
will it just eat the CPU for 10 seconds, or does it wait
and notify
the thread?jw
11/22/2018, 4:17 AMThread.onSpinWait
elizarov
11/22/2018, 7:31 AMRuckus
11/22/2018, 7:41 AMelizarov
11/22/2018, 7:42 AMRuckus
11/22/2018, 7:46 AMlouiscad
11/22/2018, 9:54 AM