IGT Interview Question

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