the runnable task performed by the service is the bulk of the code from listing 5. i've added some additional checks to improve building the urls for the next page.
该服务执行的runnable任务是 清单5中的大量代码。我添加了一些额外的检查,以改进构建下一个页面的url的过程。
so, if each runnable task runs its sched_slice() worth of time, it has spent sched_period time, and each task will have run an equal amount of time proportional to its weight.
因此,如果每个可运行任务运行与 sched_slice() 等价的时间,那么将花费的时间为 sched_period,每个任务将运行与其权重成比例的时间量。
this is the highest priority runnable task on the system and is the task the scheduler will run.
这就是系统中优先级最高的可执行进程,也是马上会被调度执行的进程。
the 1.2 linux scheduler used a circular queue for runnable task management that operated with a round-robin scheduling policy.
linux调度器使用了环形队列用于可运行的任务管理,使用循环调度策略。