Amazon interview question

When would you use and not use multithreading?