DataVisor interview question

Give an example of multi-thread solution.