Instead of round-robin scheduling of all tasks, let's use priorities so that some tasks can be more time-sensitive than others. Tasks of equal priority can run in a round-robin fashion. Otherwise, the highest-priority task runs before any lower-priority tasks.
Instead of round-robin scheduling of all tasks, let's use priorities so that some tasks can be more time-sensitive than others. Tasks of equal priority can run in a round-robin fashion. Otherwise, the highest-priority task runs before any lower-priority tasks.