What is round-robin scheduling?

后端 未结 7 502
天涯浪人
天涯浪人 2020-12-15 08:29

In a multitasking operating system context, sometimes you hear the term round-robin scheduling. What does it refer to?
What other kind of scheduling is there?

7条回答
  •  囚心锁ツ
    2020-12-15 09:17

    Round robin is a simple scheduling algorithm where time is divided evenly among jobs without priority.

    For example - if you have 5 processes running - each process will be allowed to run for 1/5 a unit of time before another process is allowed to run. Round robin is typically easy to implement in an OS.

提交回复
热议问题