关中断

  • 网络disable interrupt;clr ea;IRQ and FIQ;Interrupt OFF
关中断关中断
  1. 对于多任务运行中任务间的通信和同步提供了三种方法:关中断;

    According to the communication and synchronization of multiple tasks , three method have been put forward : disable interrupt and enable interrupt ;

  2. 这样就可以在程序中使用禁止调度的方式来处理临界段的代码,也大大减少了关中断的时间!

    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 !

  3. 系统采用仿真宏代替Linux内核使用的sti,cli,iret等机器指令,使得实时内核捕获中断,禁止了Linux内核关硬件中断的操作;

    The stimulation orders replace the machine orders used in inner Linux core such as sti , cli , iret etc. The result is that the real time core supervises the interruption , and prohibits the operation of Linux core about the hardware interruption .