https://kotlinlang.org logo
#coroutines
Title
# coroutines
v

voddan

06/04/2018, 6:25 AM
A trick question: how does
CommonPool + CoroutineName("hi")
behaves? Does it allocate new threads (if yes, how many) or reuses threads from
CommonPool
? How come?
v

Vsevolod Tolstopyatov [JB]

06/04/2018, 7:17 AM
CoroutineName
is context marker for debugging. It doesn’t affect neither dispatchers in general, nor
CommonPool
2 Views