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

andylamax

07/22/2021, 6:43 PM
Quick torrent of questions. 1. Can I use any dispatchers with native-mt? 2. does multithreading in coroutines still require to freeze objects before passing them to another coroutines with a switched contex?
b

Big Chungus

07/22/2021, 7:20 PM
1. Yes 2. Yes if that context is on another thread (remember, concurrency != parallelism)
a

andylamax

07/22/2021, 10:08 PM
That explains much. Thanks
3 Views