IGT interview question

in how many we can create thread, why two ways?