Apple interview question

How does multi threading work