Virtusa interview question

Explain multi threading in real time systems?