Amdocs interview question

How to Implement a Thread?