Pergunta de entrevista da empresa Google

How does multi threading work in an embedded system?