首页 | 本学科首页   官方微博 | 高级检索  
     检索      

多核操作系统自旋锁技术研究
引用本文:虞保忠,郝继锋.多核操作系统自旋锁技术研究[J].航空计算技术,2017,47(4).
作者姓名:虞保忠  郝继锋
作者单位:航空工业西安航空计算技术研究所,陕西西安,710068
基金项目:总装装备部预研联合基金项目资助,天脉系列操作系统技术开发与产业化推广
摘    要:多核操作系统通常采用自旋锁技术保证多核之间互斥.处理器核属于硬件设备,需要硬件锁机制实现核间互斥,各类处理器都提供相应的硬件指令实现自旋锁,如锁总线.处理器核在获取自旋不成功时,一直自旋,直到获取锁成功.自旋锁持有时间非常短,不引起睡眠,效率很高.

关 键 词:多核  操作系统  互斥  自旋锁  确定性

Research on Spin Lock of Multi-processor Operating System
YU Bao-zhong,HAO Ji-feng.Research on Spin Lock of Multi-processor Operating System[J].Aeronautical Computer Technique,2017,47(4).
Authors:YU Bao-zhong  HAO Ji-feng
Abstract:The spin lock is used on multi-processor operating system for mutex between processors .The processor is hardware device ,the mutex between devices needs hardware support .As known ,most proces-sor provide some instructions for the implement of spin lock , such as bus lock .The processor will loop check the lock state until the lock free when the lock is held by other processor .As the duration of hold spin lock is very short and the caller will not be blocked ,so the spin lock is very effective.
Keywords:multi-processor  operating system  mutex  spin lock  certainty
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号