文件名称:MicroC-OS-III-
介绍说明--下载内容来自于网络,使用问题请自行百度
UCOS-III中支持了时间片的轮转调度,为了减少关中断的时间,
内核在对临界段的处理上使用了一些方法,比如为防止中断中访问
临界段代码,把中断的事情分两步来做,即中断中把对内核的操作
仅做保存,实际的操作推迟到一个称为OS_IntQTask中完成!这样
就可以在程序中使用禁止调度的方式来处理临界段的代码,也大大
减少了关中断的时间!但这并不意味着这种方法就是最优了,它是在
任务切换的消耗和关中断的时间来平衡的,所以UCOS-III也支持使用
关中断的方法! -UCOS-III in support of a time slice of the round-robin scheduling, in order to reduce the interrupt off time, the kernel in the handling of the critical section using a number of methods, such as to prevent interruption in access to critical sections of the code, to break things in two steps do, that is to interrupt the operation of the kernel to do only save the actual operating postponed to a called OS_IntQTask done! This procedure can be used in a way against scheduling critical sections of code to deal with, but also greatly reduces the time to break off! But this does not mean that this method is optimal, and it is consumed in the task switching and interrupt time off to balance, so UCOS-III also supports the use of off interrupt method!
内核在对临界段的处理上使用了一些方法,比如为防止中断中访问
临界段代码,把中断的事情分两步来做,即中断中把对内核的操作
仅做保存,实际的操作推迟到一个称为OS_IntQTask中完成!这样
就可以在程序中使用禁止调度的方式来处理临界段的代码,也大大
减少了关中断的时间!但这并不意味着这种方法就是最优了,它是在
任务切换的消耗和关中断的时间来平衡的,所以UCOS-III也支持使用
关中断的方法! -UCOS-III in support of a time slice of the round-robin scheduling, in order to reduce the interrupt off time, the kernel in the handling of the critical section using a number of methods, such as to prevent interruption in access to critical sections of the code, to break things in two steps do, that is to interrupt the operation of the kernel to do only save the actual operating postponed to a called OS_IntQTask done! This procedure can be used in a way against scheduling critical sections of code to deal with, but also greatly reduces the time to break off! But this does not mean that this method is optimal, and it is consumed in the task switching and interrupt time off to balance, so UCOS-III also supports the use of off interrupt method!
相关搜索: MicroC-OS
ucos OS III
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MicroC-OS-III-.pdf
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.