Tieto interview question

How to create a thread?