非抢占式多任务调度算法 [英] Non-Preemptive multitasking Scheduling Algorithm

查看:224
本文介绍了非抢占式多任务调度算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果使用非抢先式多任务处理方案来管理系统中的多个任务,是什么导致流程从一种状态转换为另一种状态的原因?

What causes transition of process from one state to another state if non-preemptive multitasking scheme is being used to manage multiple tasks in the system?

推荐答案

假定进程处于运行状态.现在,它进入等待I/O的状态.在这种情况下,另一个准备就绪的过程将被上下文切换并执行.

Suppose a process is in running state. Now it moves to waiting state for I/O. In that case, another ready process will be context switched and will be executed.

这篇关于非抢占式多任务调度算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆