Proptiger interview question

Q. How will you print 1-10 using two threads.