首页> 中文期刊> 《电子技术应用》 >Nucleus PLUS自旋锁测试方法研究

Nucleus PLUS自旋锁测试方法研究

         

摘要

Nucleus PLUS is a new generation of embedded real-time multitasking operating system kernel.In the multi-core operating system environment,multiple tasks simultaneously access the kernel at the same time,and the spin lock can handle the synchronization and mutual exclusion that exist between different processors. However, if the spin lock is used improperly, that can easily cause a deadlock,and the application layer function can not be realized. So the spin lock test is very necessary. Through the study of the spin lock mechanism,this paper provides a test method for the spin lock to avoid the spin lock in the use of deadlock.%Nucleus PLUS是新一代的嵌入式实时多任务操作系统内核.在多核操作系统环境下,同一时刻多任务同时访问内核,自旋锁可以很好地处理不同处理器之间存在的同步与互斥问题,但自旋锁如果使用不当,极易产生死锁,造成应用层功能无法实现,所以很有必要对自旋锁展开重点测试.通过对自旋锁机制的研究,提供了一种针对自旋锁的测试方法,避免自旋锁在使用中产生死锁.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号