Nokia Interview Question

How to manage thread life cycle?