Valeo Interview Question

how will you use multitasking in rtos?