Pergunta de entrevista da empresa Netcracker Technology

How to start let say 5 threads in a given sequence? And then stop in a given sequence.