Quick Heal interview question

Multithreding program and thred synchronization