Implement round-robin scheduling.