What happens after launching the following code?
fun main() {
val thread = thread(name = "secondary", start = false, block = {
val str: String? = null
println("Length is ${str!!.length}")
})
thread.start()
while (true) {
// do nothing
}
}