Phenom interview question

Multithreading along with design and coding