首页 > 试题广场 >

在uCOS-II中,OSSched()函数是任务调度的前导

[单选题]
在uC/OS-II中,OSSched()函数是任务调度的前导函数,用于判断进行任务调度的条件是否满足。下列满足条件的变量值为(  )。
  • OSIntNesting=0,OSLockNesting=0
  • OSIntNesting=0,OSLockNesting=1
  • OSIntNesting=1,OSLockNesting=0
  • OSIntNesting=1,OSLockNesting=1
OSIntNesting等于0的时候,系统不处于中断态
OSLockNesting等于0的时候,系统调度功能使能


发表于 2020-02-27 19:59:28 回复(0)