minix内核修改,增加实时进程和实时调度

上传者: li_jinpingnndd | 上传时间: 2019-12-21 20:11:29 | 文件大小: 79KB | 文件类型: rar
minix内核修改,增加实时进程和实时调度: 1 增加系统调用chrt  函数格式 s = chrt(long deadline)  函数功能 设置进程为实时进程并在deadline秒后结束。如果deadline为0,则将进程设置为非实时进程。设置成功返回0,否则返回1. 2 实现EDF(Earliest-Deadline-First)实时调度算法  EDF deadline越近的进程越先执行  实时调度 设置进程的优先级,保证进程的优先级高于其他用户进程,以保证它的实时性。但要考虑不会影响系统进程的执行。

文件下载

资源详情

[{"title":"( 22 个子文件 79KB ) minix内核修改,增加实时进程和实时调度","children":[{"title":"Minix3 project2 文档.doc <span style='color:#111;'> 77.00KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"servers","children":[{"title":"pm","children":[{"title":"misc.c <span style='color:#111;'> 17.99KB </span>","children":null,"spread":false},{"title":"table.c <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false},{"title":"proto.h <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"include","children":[{"title":"minix","children":[{"title":"syslib.h <span style='color:#111;'> 12.06KB </span>","children":null,"spread":false},{"title":"callnr.h <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"com.h <span style='color:#111;'> 42.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"unistd.h <span style='color:#111;'> 9.62KB </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"posix","children":[{"title":"_chrt.c <span style='color:#111;'> 169B </span>","children":null,"spread":false},{"title":"Makefile.in <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"syslib","children":[{"title":"Makefile.in <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"sys_chrt.c <span style='color:#111;'> 457B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"kernel","children":[{"title":"config.h <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 11.29KB </span>","children":null,"spread":false},{"title":"system.h <span style='color:#111;'> 5.62KB </span>","children":null,"spread":false},{"title":"system","children":[{"title":"do_chrt.c.bak <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"do_exit.c <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"do_chrt.c <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"proc.h <span style='color:#111;'> 10.53KB </span>","children":null,"spread":false},{"title":"proc.c <span style='color:#111;'> 49.17KB </span>","children":null,"spread":false},{"title":"system.c <span style='color:#111;'> 22.31KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • Lilac_菲 :
    很有用,解决了大作业中的部分问题
    2019-04-30
  • ytt_sjtu :
    灰常有用,可以参考代码达到自预想的效果
    2014-05-10
  • liaorc :
    虽然和现在版本的minix已经有了不同,不过还是有很大参考价值的
    2014-04-09
  • brian1868 :
    可以直接拿来编译提交的,不过还是建议同学自己写= =
    2014-04-09
  • ffdq0709104 :
    基本能解决问题
    2014-02-08

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明