Join Slack
Powered by
Does K/N initialize all globals on the main thread...
# kotlin-native
b
basher
03/18/2019, 5:34 PM
Does K/N initialize all globals on the main thread during runtime init? (for native, specifically)
d
Dico
03/18/2019, 5:51 PM
From experience I can say with some certainty that it does
o
olonho
03/18/2019, 5:51 PM
Thread locals are initialized when new runtime is started, other ones on the first runtime init, whatever thread it is on.
b
basher
03/18/2019, 5:53 PM
Thanks!
6
Views
Open in Slack
Previous
Next