Pregunta de entrevista de Schilling Robotics

How do you deal with multiple threads in a program?