Leica Microsystems interview question

one question on writing firmware to multi-task.