Deutsche Bank interview question

How to write a parallel multithreading program in 1 core?